home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Standards 1994 January / InfoMagic Standards - January 1994.iso / ccitt / 1988 / troff / 8_5_11.tro < prev    next >
Text File  |  1991-12-22  |  80KB  |  3,574 lines

  1. .rs
  2. .\" Troff code generated by TPS Convert from ITU Original Files
  3. .\"                 Not Copyright (~c) 1991 
  4. .\"
  5. .\" Assumes tbl, eqn, MS macros, and lots of luck.
  6. .TA 1c 2c 3c 4c 5c 6c 7c 8c
  7. .ds CH
  8. .ds CF
  9. .EQ
  10. delim @@
  11. .EN
  12. .nr LL 40.5P
  13. .nr ll 40.5P
  14. .nr HM 3P
  15. .nr FM 6P
  16. .nr PO 4P
  17. .nr PD 9p
  18. .po 4P
  19.  
  20. .rs
  21. \v'|.5i'
  22. .sp 2P
  23. .LP
  24. \fBRecommendation\ X.228\fR 
  25. .RT
  26. .sp 2P
  27. .sp 1P
  28. .ce 1000
  29. \fBRELIABLE TRANSFER:\fR \fBPROTOCOL SPECIFICATION\fR 
  30. .FS
  31. Recommendation\ X.228 and ISO 9066\(hy2 [Information processing systems 
  32. \(em Text 
  33. Communication \(em Reliable Transfer Part\ 2: Protocol Specification] were
  34. developed in close collaboration and are technically aligned.
  35. .FE
  36. .EF '%    Fascicle\ VIII.5\ \(em\ Rec.\ X.228''
  37. .OF '''Fascicle\ VIII.5\ \(em\ Rec.\ X.228    %'
  38. .ce 0
  39. .sp 1P
  40. .ce 1000
  41. \fI(Melbourne, 1988)\fR 
  42. .sp 9p
  43. .RT
  44. .ce 0
  45. .sp 1P
  46. .LP
  47.     The CCITT,
  48. .sp 1P
  49. .RT
  50. .sp 1P
  51. .LP
  52. \fIconsidering\fR 
  53. .sp 9p
  54. .RT
  55. .PP
  56. (a)
  57. that Recommendation X.200 defines the Basic Reference Model of Open Systems 
  58. Interconnection (OSI) for CCITT applications; 
  59. .PP
  60. (b)
  61. that Recommendation X.210 defines the service conventions for describing 
  62. the services of the OSI reference model; 
  63. .PP
  64. (c)
  65. that Recommendation X.216 defines the Presentation Layer
  66. service;
  67. .PP
  68. (d)
  69. that Recommendation X.217 defines the Association Control   service;
  70. .PP
  71. (e)
  72. that Recommendation X.218 defines the Reliable Transfer
  73. service;
  74. .PP
  75. (f
  76. )
  77. that there is a need for common Reliable Transfer
  78. support for various applications;
  79. .sp 1P
  80. .LP
  81. \fIunanimously declares\fR 
  82. .sp 9p
  83. .RT
  84. .PP
  85. that this Recommendation defines the Reliable Transfer protocol of Open 
  86. Systems Interconnection for CCITT Applications as given in the Scope and 
  87. Field of Application. 
  88. .sp 1P
  89. .ce 1000
  90. CONTENTS
  91. .ce 0
  92. .sp 1P
  93. .sp 2P
  94. .LP
  95. 0
  96.     \fIIntroduction\fR 
  97. .sp 1P
  98. .RT
  99. .sp 1P
  100. .LP
  101. 1
  102.     \fIScope and Field of Application\fR 
  103. .sp 9p
  104. .RT
  105. .sp 1P
  106. .LP
  107. 2
  108.     \fIReferences\fR 
  109. .sp 9p
  110. .RT
  111. .sp 1P
  112. .LP
  113. 3
  114.     \fIDefinitions\fR 
  115. .sp 9p
  116. .RT
  117. .sp 1P
  118. .LP
  119. 4
  120.     \fIAbbreviations\fR 
  121. .sp 9p
  122. .RT
  123. .sp 1P
  124. .LP
  125. 5
  126.     \fIConventions\fR 
  127. .sp 9p
  128. .RT
  129. .sp 1P
  130. .LP
  131. 6
  132.     \fIOverview of the Protocol\fR 
  133. .sp 9p
  134. .RT
  135. .sp 1P
  136. .LP
  137. 7
  138.     \fIElements of Procedure\fR 
  139. .sp 9p
  140. .RT
  141. .sp 1P
  142. .LP
  143. 8
  144.     \fIMapping to Used Services\fR 
  145. .sp 9p
  146. .RT
  147. .sp 1P
  148. .LP
  149. 9
  150.     \fIAbstract Syntax Definition of APDUs\fR 
  151. .sp 9p
  152. .RT
  153. .sp 1P
  154. .LP
  155. 10
  156.     \fIConformance\fR 
  157. .sp 9p
  158. .RT
  159. .sp 1P
  160. .LP
  161. \fIAnnex A\fR     \(em
  162.     State Transition Tables
  163. .sp 9p
  164. .RT
  165. .sp 1P
  166. .LP
  167. \fIAnnex B\fR     \(em
  168.      Differences between this Recommendation and\fR Recommendation\ X.410\ 
  169. \(em\ 1984 
  170. .sp 9p
  171. .RT
  172. .sp 1P
  173. .LP
  174. \fIAnnex C\fR     \(em
  175.     Summary of Assigned Object Identifier
  176. Values
  177. .bp
  178. .sp 9p
  179. .RT
  180. .sp 2P
  181. .LP
  182. \fB0\fR     \fBIntroduction\fR 
  183. .sp 1P
  184. .RT
  185. .PP
  186. This Recommendation specifies the protocol for the services
  187. provided by an application\(hyservice\(hyelement\ \(em\ the Reliable Transfer 
  188. Service 
  189. Element (RTSE)\ \(em\ to provide for the Reliable Transfer of Application 
  190. Protocol Data Units (APDUs) between open systems. This Recommendation is 
  191. one of a set of Recommendations specifying the protocols for sets of 
  192. application\(hyservice\(hyelements commonly used by a number of applications.
  193. .PP
  194. Reliable Transfer provides an application\(hyindependent mechanism to
  195. recover from communication and end\(hysystem failure minimizing the amount of
  196. retransmission.
  197. .PP
  198. This Recommendation is technically aligned with ISO 9066\(hy2.
  199. .RT
  200. .sp 2P
  201. .LP
  202. \fB1\fR     \fBScope and Field of Application\fR 
  203. .sp 1P
  204. .RT
  205. .PP
  206. This Recommendation specifies the protocol (abstract syntax) and
  207. procedures for the Reliable Transfer Service Element services (Recommendation 
  208. X.218). The RTSE services are provided in conjunction with the Association 
  209. Control Service Element (ACSE) services (Recommendation X.217) and the ACSE
  210. protocol (Recommendation X.227), and the presentation\(hyservice (Recommendation 
  211. X.216). 
  212. .PP
  213. The RTSE procedures are defined in terms of:
  214. .RT
  215. .LP
  216.     a)
  217.     the interactions between peer RTSE protocol machines
  218. through the use of ACSE and the presentation\(hyservice.
  219. .LP
  220.     b)
  221.     the interactions between the RTSE protocol machine and its  service\(hyuser.
  222. .PP
  223. This Recommendation specifies conformance requirements for systems implementing 
  224. these procedures. 
  225. .sp 2P
  226. .LP
  227. \fB2\fR     \fBReferences\fR 
  228. .sp 1P
  229. .RT
  230. .sp 1P
  231. .LP
  232. Recommendation X.200\ \(em
  233.     Reference Model of Open Systems Interconnection
  234. for CCITT Applications (See also ISO\ 7498)
  235. .sp 9p
  236. .RT
  237. .sp 1P
  238. .LP
  239. Recommendation X.208\ \(em
  240.     Specification of abstract syntax notation (See
  241. also ISO\ 8824).
  242. .sp 9p
  243. .RT
  244. .sp 1P
  245. .LP
  246. Recommendation X.209\ \(em
  247.     Specification of Basic Encoding Rules for the
  248. abstract syntax notation (See also ISO\ 8825).
  249. .sp 9p
  250. .RT
  251. .sp 1P
  252. .LP
  253. Recommendation X.210\ \(em
  254.     Open Systems Interconnection Layer Service
  255. Definition Conventions (See also ISO/TR\ 8509).
  256. .sp 9p
  257. .RT
  258. .sp 1P
  259. .LP
  260. Recommendation X.216\ \(em
  261.      Presentation Service Definition for Open Systems Interconnection for 
  262. CCITT Applications (See also ISO\ 8822). 
  263. .sp 9p
  264. .RT
  265. .sp 1P
  266. .LP
  267. Recommendation X.217\ \(em
  268.      Association Control Service Definition for CCITT Applications (See also 
  269. ISO\ 8649). 
  270. .sp 9p
  271. .RT
  272. .sp 1P
  273. .LP
  274. Recommendation X.218\ \(em
  275.     Reliable Transfer: Model and Service Definition
  276. (See also ISO 9066\(hy1)
  277. .sp 9p
  278. .RT
  279. .sp 1P
  280. .LP
  281. Recommendation X.219\ \(em
  282.     Remote Operations: Model, Notation and Service
  283. Definition (See also ISO\ 9072\(hy1)
  284. .sp 9p
  285. .RT
  286. .sp 1P
  287. .LP
  288. Recommendation X.227\ \(em
  289.     Association Control Protocol Specification for
  290. CCITT Applications (See also ISO\ 8650).
  291. .sp 9p
  292. .RT
  293. .sp 2P
  294. .LP
  295. \fB3\fR     \fBDefinitions\fR 
  296. .sp 1P
  297. .RT
  298. .sp 1P
  299. .LP
  300. 3.1
  301.     \fIReference Model Definitions\fR 
  302. .sp 9p
  303. .RT
  304. .PP
  305. This Recommendation is based on the concepts developed in
  306. Recommendation X. 200 and makes use of the following terms defined in
  307. it:
  308. .RT
  309. .LP
  310.     a)
  311.     Application Layer;
  312. .LP
  313.     b)
  314.     application\(hyprocess;
  315. .LP
  316.     c)
  317.     application\(hyentity;
  318. .bp
  319. .LP
  320.     d)
  321.     application\(hyservice\(hyelement;
  322. .LP
  323.     e)
  324.     application\(hyprotocol\(hydata\(hyunit;
  325. .LP
  326.     f
  327. )
  328.     application\(hyprotocol\(hycontrol\(hyinformation;
  329. .LP
  330.     g)
  331.     presentation\(hyservice;
  332. .LP
  333.     h)
  334.     presentation\(hyconnection;
  335. .LP
  336.     i)
  337.     session\(hyservice;
  338. .LP
  339.     j
  340. )
  341.     session\(hyconnection; and
  342. .LP
  343.     k)
  344.     user\(hyelement
  345. .LP
  346.     l)
  347.     two\(hyway\(hyalternate interaction
  348. .LP
  349.     m)
  350.     transfer syntax.
  351. .sp 1P
  352. .LP
  353. 3.2
  354.     \fIService Conventions Definitions\fR 
  355. .sp 9p
  356. .RT
  357. .PP
  358. This Recommendation makes use of the following terms defined in
  359. Recommendation\ X.210:
  360. .RT
  361. .LP
  362.     a)
  363.     service\(hyprovider;
  364. .LP
  365.     b)
  366.     service\(hyuser;
  367. .LP
  368.     c)
  369.     confirmed service;
  370. .LP
  371.     d)
  372.     non\(hyconfirmed service;
  373. .LP
  374.     e)
  375.     provider\(hyinitiated service;
  376. .LP
  377.     f
  378. )
  379.     primitive;
  380. .LP
  381.     g)
  382.     request (primitive);
  383. .LP
  384.     h)
  385.     indication (primitive);
  386. .LP
  387.     i)
  388.     response (primitive); and
  389. .LP
  390.     j
  391. )
  392.     confirm (primitive).
  393. .sp 1P
  394. .LP
  395. 3.3
  396.     \fIPresentation Service Definitions\fR 
  397. .sp 9p
  398. .RT
  399. .PP
  400. This Recommendation makes use of the following terms defined in
  401. Recommendation\ X.216:
  402. .RT
  403. .LP
  404.     a)
  405.     abstract syntax;
  406. .LP
  407.     b)
  408.     abstract syntax name;
  409. .LP
  410.     c)
  411.     presentation context;
  412. .LP
  413.     d)
  414.     default context.
  415. .sp 1P
  416. .LP
  417. 3.4
  418.     \fIAssociation Control Definitions\fR 
  419. .sp 9p
  420. .RT
  421. .PP
  422. This Recommendation makes use of the following terms defined in
  423. Recommendation\ X.217:
  424. .RT
  425. .LP
  426.     a)
  427.     application\(hyassociation; association;
  428. .LP
  429.     b)
  430.     application context;
  431. .LP
  432.     c)
  433.     Association Control Service Element; and
  434. .LP
  435.     d)
  436.     X.410\(hy1984 mode.
  437. .sp 1P
  438. .LP
  439. 3.5
  440.     \fIRTSE Service Definitions\fR 
  441. .sp 9p
  442. .RT
  443. .PP
  444. This Recommendation makes use of the following terms defined in
  445. Recommendation\ X.218:
  446. .RT
  447. .LP
  448.     a)
  449.     association\(hyinitiating\(hyapplication\(hyentity; association\(hyinitiator;
  450. .LP
  451.     b)
  452.     association\(hyresponding\(hyapplication\(hyentity; association\(hyresponder;
  453. .LP
  454.     c)
  455.     sending\(hyapplication\(hyentity; sender;
  456. .LP
  457.     d)
  458.     receiving\(hyapplication\(hyentity; receiver;
  459. .LP
  460.     e)
  461.     requestor;
  462. .LP
  463.     f
  464. )
  465.     acceptor;
  466. .LP
  467.     g)
  468.     Reliable Transfer Service Element;
  469. .LP
  470.     h)
  471.     RTSE\(hyuser;
  472. .LP
  473.     i)
  474.     RTSE\(hyprovider;
  475. .LP
  476.     j
  477. )
  478.     ACSE\(hyprovider;
  479. .bp
  480. .LP
  481.     k)
  482.     monologue interaction;
  483. .LP
  484.     l)
  485.     syntax\(hymatching\(hyservices;
  486. .LP
  487.     m)
  488.     Reliable Transfer;
  489. .LP
  490.     n)
  491.     X.410\(hy1984 mode; and
  492. .LP
  493.     o)
  494.     normal mode.
  495. .sp 1P
  496. .LP
  497. 3.6
  498.     \fIReliable Transfer Protocol Specification Definitions\fR 
  499. .sp 9p
  500. .RT
  501. .PP
  502. For the purpose of this Recommendation the following definitions
  503. apply:
  504. .RT
  505. .sp 1P
  506. .LP
  507. 3.6.1 
  508.     \fBreliable\(hytransfer\(hyprotocol\(hymachine\fR :
  509. .sp 9p
  510. .RT
  511. .PP
  512. The protocol machine for the Reliable Transfer Service Element
  513. specified in this Recommendation.
  514. .RT
  515. .sp 1P
  516. .LP
  517. 3.6.2
  518.     \fBrequesting\(hyreliable\(hytransfer\(hyprotocol\(hymachine\fR :
  519. .sp 9p
  520. .RT
  521. .PP
  522. The reliable\(hytransfer\(hyprotocol\(hymachine whose RTSE\(hyuser is the
  523. requestor of a particular Reliable Transfer Service Element service.
  524. .RT
  525. .sp 1P
  526. .LP
  527. 3.6.3
  528.     \fBaccepting\(hyreliable\(hytransfer\(hyprotocol\(hymachine\fR :
  529. .sp 9p
  530. .RT
  531. .PP
  532. The reliable\(hytransfer\(hyprotocol\(hymachine whose RTSE\(hyuser is the
  533. acceptor for a particular Reliable Transfer Service Element service.
  534. .RT
  535. .sp 1P
  536. .LP
  537. 3.6.4
  538.     \fBsending\(hyreliable\(hytransfer\(hyprotocol\(hymachine\fR :
  539. .sp 9p
  540. .RT
  541. .PP
  542. The reliable\(hytransfer\(hyprotocol\(hymachine whose RTSE\(hyuser is the
  543. sender.
  544. .RT
  545. .sp 1P
  546. .LP
  547. 3.6.5
  548.     \fBreceiving\(hyreliable\(hytransfer\(hyprotocol\(hymachine\fR :
  549. .sp 9p
  550. .RT
  551. .PP
  552. The reliable\(hytransfer\(hyprotocol\(hymachine whose RTSE\(hyuser is the
  553. receiver.
  554. .RT
  555. .sp 1P
  556. .LP
  557. 3.6.6
  558.      \fBassociation\(hyinitiating\(hyreliable\(hytransfer\(hyprotocol\(hymachine\fR 
  559. .sp 9p
  560. .RT
  561. .PP
  562. The reliable\(hytransfer\(hyprotocol\(hymachine whose RTSE\(hyuser is
  563. the association\(hyinitiator.
  564. .RT
  565. .sp 1P
  566. .LP
  567. 3.6.7
  568.      \fBassociation\(hyresponding\(hyreliable\(hytransfer\(hyprotocol\(hymachine\fR 
  569. .sp 9p
  570. .RT
  571. .PP
  572. The reliable\(hytransfer\(hyprotocol\(hymachine whose RTSE\(hyuser is
  573. the association\(hyresponder.
  574. .RT
  575. .sp 2P
  576. .LP
  577. \fB4\fR     \fBAbbreviations\fR 
  578. .sp 1P
  579. .RT
  580. .sp 1P
  581. .LP
  582. 4.1
  583.     \fIData Units\fR 
  584. .sp 9p
  585. .RT
  586. .PP
  587. APDU \ 
  588. application\(hyprotocol\(hydata\(hyunit.
  589. .RT
  590. .sp 1P
  591. .LP
  592. 4.2
  593.     \fITypes of Application\(hyprotocol\(hydata\(hyunits\fR 
  594. .sp 9p
  595. .RT
  596. .PP
  597. The following abbreviations have been given to the
  598. application\(hyprotocol\(hydata\(hyunits defined in this Recommendation.
  599. .RT
  600. .LP
  601.     RTAB
  602.     RT\(hyP\(hyABORT and RT\(hyU\(hyABORT
  603. application\(hyprotocol\(hydata\(hyunit
  604. .LP
  605.     RTORQ
  606.     RT\(hyOPEN\(hyREQUEST application\(hyprotocol\(hydata\(hyunit
  607. .LP
  608.     RTOAC
  609.     RT\(hyOPEN\(hyACCEPT application\(hyprotocol\(hydata\(hyunit
  610. .LP
  611.     RTORJ
  612.     RT\(hyOPEN\(hyREJECT application protocol\(hydata\(hyunit
  613. .LP
  614.     RTTR
  615.     RT\(hyTRANSFER application\(hyprotocol\(hydata\(hyunit
  616. .LP
  617.     RTTP
  618.     RT\(hyTOKEN\(hyPLEASE application\(hyprotocol\(hydata\(hyunit
  619. .bp
  620. .sp 1P
  621. .LP
  622. 4.3
  623.     \fIOther Abbreviations\fR 
  624. .sp 9p
  625. .RT
  626. .PP
  627. The following abbreviations are used in this
  628. Recommendation.
  629. .RT
  630. .LP
  631.     AE
  632.     application\(hyentity
  633. .LP
  634.     ACSE
  635.     Association Control Service Element
  636. .LP
  637.     ASE
  638.     application\(hyservice\(hyelement
  639. .LP
  640.     RTPM
  641.     reliable\(hytransfer\(hyprotocol\(hymachine
  642. .LP
  643.     RT (or RTS)
  644.     Reliable Transfer
  645. .LP
  646.     RTSE
  647.     Reliable Transfer Service Element
  648. .sp 2P
  649. .LP
  650. \fB5\fR     \fBConventions\fR 
  651. .sp 1P
  652. .RT
  653. .PP
  654. This Recommendation employs a tabular presentation of its APDU
  655. fields. In clause\ 7, tables are presented for each RTSE APDU. Each field is
  656. summarized using the following notation:
  657. .RT
  658. .LP
  659.     M
  660.     presence is mandatory
  661. .LP
  662.     U
  663.     presence is a RTSE service\(hyuser option
  664. .LP
  665.     T
  666.     presence is a RTPM option
  667. .LP
  668.     req
  669.     source is related request primitive
  670. .LP
  671.     ind
  672.     sink is related indication primitive
  673. .LP
  674.     resp
  675.     source is related response primitive
  676. .LP
  677.     conf
  678.     sink is related confirm primitive
  679. .LP
  680.     sp
  681.     source or sink is the RTPM
  682. .PP
  683. The structure of each RTSE APDU is specified in clause 9 using the abstract 
  684. syntax notation of Recommendation X.208. 
  685. .sp 2P
  686. .LP
  687. \fB6\fR     \fBOverview of the Protocol\fR 
  688. .sp 1P
  689. .RT
  690. .sp 1P
  691. .LP
  692. 6.1
  693.     \fIService Provision\fR 
  694. .sp 9p
  695. .RT
  696. .PP
  697. The protocol specified in this Recommendation provides the services defined 
  698. in Recommendation\ X.218. These services are listed in 
  699. Table\ 1/X.228.
  700. .RT
  701. .LP
  702. .sp 2
  703. .ce
  704. \fBH.T. [T1.228]\fR 
  705. .ce
  706. TABLE\ 1/X.228
  707. .ce
  708. \fBRTSE Service Summary\fR 
  709. .ps 9
  710. .vs 11
  711. .nr VS 11
  712. .nr PS 9
  713. .TS
  714. center box;
  715. cw(90p) | cw(78p) .
  716. Service    Type
  717. _
  718. .T&
  719. lw(90p) | lw(78p) .
  720. RT\(hyOPEN    Confirmed
  721. .T&
  722. lw(90p) | lw(78p) .
  723. RT\(hyCLOSE    Confirmed
  724. .T&
  725. lw(90p) | lw(78p) .
  726. RT\(hyTRANSFER    Confirmed
  727. .T&
  728. lw(90p) | lw(78p) .
  729. RT\(hyTURN\(hyPLEASE    Non\(hyconfirmed
  730. .T&
  731. lw(90p) | lw(78p) .
  732. RT\(hyTURN\(hyGIVE    Non\(hyconfirmed
  733. .T&
  734. lw(90p) | lw(78p) .
  735. RT\(hyP\(hyABORT    Provider\(hyinitiated
  736. .T&
  737. lw(90p) | lw(78p) .
  738. RT\(hyU\(hyABORT    Non\(hyconfirmed
  739. _
  740. .TE
  741. .nr PS 9
  742. .RT
  743. .ad r
  744. \fBTable [T1.228], p.\fR 
  745. .sp 1P
  746. .RT
  747. .ad b
  748. .RT
  749. .LP
  750. .bp
  751. .sp 2P
  752. .LP
  753. 6.2
  754.     \fIUse of Services\fR 
  755. .sp 1P
  756. .RT
  757. .sp 1P
  758. .LP
  759. 6.2.1
  760.     \fIACSE Services\fR 
  761. .sp 9p
  762. .RT
  763. .PP
  764. The RTPM requires access to the A\(hyASSOCIATE, A\(hyRELEASE, A\(hyABORT 
  765. and A\(hyP\(hyABORT services. This Recommendation assumes that the RTPM 
  766. is the sole user of these services. 
  767. .RT
  768. .sp 1P
  769. .LP
  770. 6.2.2
  771.     \fIUse of the Presentation\(hyservice\fR 
  772. .sp 9p
  773. .RT
  774. .PP
  775. The RTPM requires access to the P\(hyACTIVITY\(hySTART, P\(hyDATA,
  776. P\(hyMINOR\(hySYNCHRONIZE, 
  777. P\(hyACTIVITY\(hyEND, P\(hyACTIVITY\(hyINTERRUPT,
  778. P\(hyACTIVITY\(hyDISCARD,
  779. P\(hyU\(hyEXCEPTION\(hyREPORT, 
  780. P\(hyACTIVITY\(hyRESUME, P\(hyP\(hyEXCEPTION\(hyREPORT,
  781. P\(hyTOKEN\(hyPLEASE
  782. and P\(hyCONTROL\(hyGIVE services. This Recommendation assumes that the 
  783. RTPM is the sole user of the above services. 
  784. .PP
  785. The RTPM requires access to local syntax\(hymatching\(hyservices provided 
  786. by the presentation\(hyservice provider. This syntax\(hymatching\(hyservice 
  787. consists 
  788. of:
  789. .RT
  790. .LP
  791.     a)
  792.     an encoding service enabling the transformation from the
  793. local representation of an APDU value into an encoded\(hyAPDU\(hyvalue 
  794. of type OCTET STRING the value of which is the representation of the APDU 
  795. value specified by the negotiated transfer syntax; 
  796. .LP
  797.     b)
  798.     a decoding service enabling the transformation from an
  799. encoded\(hyAPDU\(hyvalue into the local representation of the APDU value.
  800. .PP
  801. If X.410\(hy1984 mode or simple encoding is used by the Presentation Layer, 
  802. the APDU value is encoded as ASN.1 type ANY. If full encoding is used by 
  803. the Presentation Layer, the APDU value is encoded as ASN.1 type EXTERNAL. 
  804. (For X.410\(hy1984 mode, single encoding and full encoding see Recommendation 
  805. X.226). 
  806. .PP
  807. This Recommendation recognizes that the ACSE services require access to 
  808. the P\(hyCONNECT, 
  809. P\(hyRELEASE, P\(hyU\(hyABORT and P\(hyP\(hyABORT services. This
  810. Recommendation assumes that the ACSE and the RTPM are the sole users of 
  811. any of the above, or of any other, presentation\(hyservices. 
  812. .PP
  813. During the lifetime of an application\(hyassociation, the underlying
  814. presentation\(hyconnections either use a single presentation context or 
  815. multiple presentation contexts as a part of the presentation multiple defined 
  816. context 
  817. facility. The choice is determined by the use of the Single Presentation
  818. Context parameter of the RT\(hyOPEN service as described in clause\ 8.1.1.1.3
  819. and\ 8.1.1.1.4.
  820. .RT
  821. .sp 1P
  822. .LP
  823. 6.3
  824.     \fIModel\fR 
  825. .sp 9p
  826. .RT
  827. .PP
  828. The reliable\(hytransfer\(hyprotocol\(hymachine (RTPM) communicates with 
  829. its service\(hyuser by means of primitives defined in Recommendation X.218. 
  830. Each 
  831. invocation of the RTPM controls a single application\(hyassociation.
  832. .PP
  833. The RTPM is driven by RTSE service request and response primitives
  834. from its service\(hyuser, and by indication and confirm primitives from 
  835. the ACSE services and the presentation\(hyservice. The RTPM, in turn, issues 
  836. indication and confirm primitives to its service\(hyuser and request and 
  837. response primitives on the used ACSE services or presentation\(hyservice. 
  838. .PP
  839. The reception of an RTSE service primitive, or of an ACSE service
  840. primitive, or of a presentation\(hyservice primitive, and the generation of
  841. dependent actions are considered to be indivisible.
  842. .PP
  843. During the use of the RTSE services, the existence of both the
  844. association\(hyinitiating AE and the association\(hyresponding AE is presumed. 
  845. How 
  846. these AEs are created is beyond the scope of this Recommendation.
  847. .PP
  848. During the use of the RTSE services, except RT\(hyOPEN, the existence of 
  849. an application\(hyassociation between the peer AEs is presumed. 
  850. .PP
  851. Note\ \(em\ Each application\(hyassociation may be identified in an end 
  852. system by an internal, implementation dependent mechanism so that the RTSE 
  853. service\(hyuser, and the RTPM, and the ACSE service\(hyprovider can refer to
  854. it.
  855. .bp
  856. .RT
  857. .sp 2P
  858. .LP
  859. \fB7\fR     \fBElements of procedure\fR 
  860. .sp 1P
  861. .RT
  862. .PP
  863. The RTSE protocol consists of the following elements of
  864. procedure:
  865. .RT
  866. .LP
  867.     a)
  868.     association\(hyestablishment
  869. .LP
  870.     b)
  871.     association\(hyrelease
  872. .LP
  873.     c)
  874.     transfer
  875. .LP
  876.     d)
  877.     turn\(hyplease
  878. .LP
  879.     e)
  880.     turn\(hygive
  881. .LP
  882.     f
  883. )
  884.     error reporting:
  885. .LP
  886.     f1)
  887.     user\(hyexception\(hyreport
  888. .LP
  889.     f2)
  890.     provider\(hyexception\(hyreport
  891. .LP
  892.     g)
  893.     error handling:
  894. .LP
  895.     g1)
  896.     transfer\(hyinterrupt
  897. .LP
  898.     g2)
  899.     transfer\(hydiscard
  900. .LP
  901.     g3)
  902.     association\(hyabort
  903. .LP
  904.     g4)
  905.     association\(hyprovider\(hyabort
  906. .LP
  907.     h)
  908.     error recovery:
  909. .LP
  910.     h1)
  911.      transfer\(hyresumption (for recovery from g1), or after successful h3) 
  912. from g3) or g4)) 
  913. .LP
  914.     h2)
  915.     transfer\(hyretry (for recovery from g2))
  916. .LP
  917.     h3)
  918.     association\(hyrecovery (for recovery from g3 or g4))
  919. .LP
  920.     i)
  921.     abort:
  922. .LP
  923.     i1)
  924.     transfer\(hyabort (recovery from g1) or g2) or g3) or
  925. g4) not possible)
  926. .LP
  927.     i2)
  928.     provider\(hyabort (recovery from g1) or g2) or g3) or
  929. g4) not possible)
  930. .LP
  931.     i3)
  932.     user\(hyabort.
  933. .PP
  934. In the following clauses, a summary of each of these elements of procedure 
  935. is presented. This consists of a summary of the relevant APDUs, and a high\(hylevel 
  936. overview of the relationship between the RTSE service primitives and the 
  937. APDUs involved and the used presentation\(hyservice. 
  938. .PP
  939. Clause 8 describes how the service primitives are mapped on the ACSE services, 
  940. and on the presentation\(hyservice. 
  941. .RT
  942. .sp 2P
  943. .LP
  944. 7.1
  945.     \fIAssociation\(hyestablishment\fR 
  946. .sp 1P
  947. .RT
  948. .sp 1P
  949. .LP
  950. 7.1.1
  951.     \fIPurpose\fR 
  952. .sp 9p
  953. .RT
  954. .PP
  955. The association\(hyestablishment procedure is used to establish an
  956. application\(hyassociation.
  957. .RT
  958. .sp 1P
  959. .LP
  960. 7.1.2
  961.     \fIAPDUs used\fR 
  962. .sp 9p
  963. .RT
  964. .PP
  965. The association\(hyestablishment procedures uses the RT\(hyOPEN\(hyREQUEST 
  966. (RTORQ) APDU, the RT\(hyOPEN\(hyACCEPT (RTCAC) APDU, and the RT\(hyOPEN\(hyREJECT 
  967. (RTORJ) APDU. 
  968. .PP
  969. \fINote\fR \ \(em\ These APDUs are also used in the association\(hyrecovery
  970. procedure.
  971. .RT
  972. .sp 1P
  973. .LP
  974. 7.1.2.1
  975.     \fIRTORQ APDU\fR 
  976. .sp 9p
  977. .RT
  978. .PP
  979. The RT\(hyOPEN REQUEST (RTORQ) APDU is used in the request to
  980. establish an application\(hyassociation. The fields of the RTORQ APDU are 
  981. listed in Table\ 2/X.228. 
  982. .RT
  983. .sp 1P
  984. .LP
  985. 7.1.2.2
  986.     \fIRTOAC APDU\fR 
  987. .sp 9p
  988. .RT
  989. .PP
  990. The RT\(hyOPEN\(hyACCEPT (RTOAC) APDU is used in the positive response 
  991. to the request to establish an application\(hyassociation. The fields of 
  992. the RTOAC 
  993. APDU are listed in Table\ 3/X.228.
  994. .bp
  995. .RT
  996. .ce
  997. \fBH.T. [T2.228]\fR 
  998. .ce
  999. TABLE\ 2/X.228
  1000. .ce
  1001. \fBRTORQ APDU Fields\fR 
  1002. .ps 9
  1003. .vs 11
  1004. .nr VS 11
  1005. .nr PS 9
  1006. .TS
  1007. center box;
  1008. cw(90p) | cw(30p) | cw(30p) | cw(30p) .
  1009. Field name    Presence    Source    Sink
  1010. _
  1011. .T&
  1012. lw(90p) | cw(30p) | cw(30p) | cw(30p) .
  1013. Checkpoint\(hysize    T    sp    sp
  1014. .T&
  1015. lw(90p) | cw(30p) | cw(30p) | cw(30p) .
  1016. Window\(hysize    T    sp    sp
  1017. .T&
  1018. lw(90p) | cw(30p) | cw(30p) | cw(30p) .
  1019. Dialogue\(hymode    U    req    ind
  1020. .T&
  1021. lw(90p) | cw(30p) | cw(30p) | cw(30p) .
  1022. User\(hydata (Note\ 1)    U    req    ind
  1023. .T&
  1024. lw(90p) | cw(30p) | cw(30p) | cw(30p) .
  1025. T{
  1026. Session\(hyconnection\(hyidentifier (Note\ 2)
  1027. T}    T    sp    sp
  1028. .T&
  1029. lw(90p) | cw(30p) | cw(30p) | cw(30p) .
  1030. T{
  1031. Application\(hyprotocol (Note\ 3)
  1032. T}    U    req    T{
  1033. ind
  1034. \fINote\ 1\fR
  1035. \ \(em\ The User\(hydata field is used solely in the association\(hyestablishment procedure.
  1036. .parag
  1037. \fINote\ 2\fR
  1038. \ \(em\ The Session\(hyconnection\(hyidentifier field is used solely in the
  1039. association\(hyrecovery procedure.
  1040. .parag
  1041. \fINote\ 3\fR
  1042. \ \(em\ The Application\(hyprotocol field is used solely in the
  1043. X.410\(hy1984 mode.
  1044. .parag
  1045. T}
  1046. _
  1047. .TE
  1048. .nr PS 9
  1049. .RT
  1050. .ad r
  1051. \fBTableau 2/X.228 [T2.228], p.2\fR 
  1052. .sp 1P
  1053. .RT
  1054. .ad b
  1055. .RT
  1056. .LP
  1057. .sp 4
  1058. .ce
  1059. \fBH.T. [T3.228]\fR 
  1060. .ce
  1061. TABLE\ 3/X.228
  1062. .ce
  1063. \fBRTOAC APDU Fields\fR 
  1064. .ps 9
  1065. .vs 11
  1066. .nr VS 11
  1067. .nr PS 9
  1068. .TS
  1069. center box;
  1070. cw(90p) | cw(30p) | cw(30p) | cw(30p) .
  1071. Field name    Presence    Source    Sink
  1072. _
  1073. .T&
  1074. lw(90p) | cw(30p) | cw(30p) | cw(30p) .
  1075. Checkpoint\(hysize    T    sp    sp
  1076. .T&
  1077. lw(90p) | cw(30p) | cw(30p) | cw(30p) .
  1078. Window\(hysize    T    sp    sp
  1079. .T&
  1080. lw(90p) | cw(30p) | cw(30p) | cw(30p) .
  1081. User\(hydata (Note 1)    U    resp    conf
  1082. .T&
  1083. lw(90p) | cw(30p) | cw(30p) | cw(30p) .
  1084. T{
  1085. Session\(hyconnection\(hyidentifier (Note 2)
  1086. T}    T    sp    T{
  1087. sp
  1088. \fINote\ 1\fR
  1089. \ \(em\ The User\(hydata field is used solely in the association\(hyestablishment procedure.
  1090. .parag
  1091. \fINote\ 2\fR
  1092. \ \(em\ The Session\(hyconnection\(hyidentifier field is used solely in the
  1093. association\(hyrecovery procedure.
  1094. .parag
  1095. T}
  1096. _
  1097. .TE
  1098. .nr PS 9
  1099. .RT
  1100. .ad r
  1101. \fBTableau 3/X.228 [T3.228], p.3\fR 
  1102. .sp 1P
  1103. .RT
  1104. .ad b
  1105. .RT
  1106. .sp 1P
  1107. .LP
  1108. .sp 2
  1109. 7.1.2.3
  1110.     \fIRTORJ APDU\fR 
  1111. .sp 9p
  1112. .RT
  1113. .PP
  1114. RT\(hyOPEN\(hyREJECT (RTORJ) APDU is used in the negative response to
  1115. the request to establish an application\(hyassociation. The fields of the RTORJ
  1116. APDU are listed in Table\ 4/X.228.
  1117. .bp
  1118. .RT
  1119. .ce
  1120. \fBH.T. [T4.228]\fR 
  1121. .ce
  1122. TABLE\ 4/X.228
  1123. .ce
  1124. \fBRTORJ APDU Fields\fR 
  1125. .ps 9
  1126. .vs 11
  1127. .nr VS 11
  1128. .nr PS 9
  1129. .TS
  1130. center box;
  1131. cw(90p) | cw(30p) | cw(30p) | cw(30p) .
  1132. Field name    Presence    Source    Sink
  1133. _
  1134. .T&
  1135. lw(90p) | cw(30p) | cw(30p) | cw(30p) .
  1136. Refuse\(hyreason (Note\ 1)    T    sp    sp
  1137. .T&
  1138. lw(90p) | cw(30p) | cw(30p) | cw(30p) .
  1139. User\(hydata (Note\ 2)    U    resp    T{
  1140. conf
  1141. \fINote\ 1\fR
  1142. \ \(em\ The Refuse\(hyreason field is used solely in the\ X.410\(hy1984 mode.
  1143. .parag
  1144. \fINote\ 2\fR
  1145. \ \(em\ The User\(hydata field is used solely in the normal mode, and is not
  1146. used in the association\(hyrecovery procedure.
  1147. .parag
  1148. T}
  1149. _
  1150. .TE
  1151. .nr PS 9
  1152. .RT
  1153. .ad r
  1154. \fBTable 4/X.228 [T4.228], p.\fR 
  1155. .sp 1P
  1156. .RT
  1157. .ad b
  1158. .RT
  1159. .LP
  1160. .sp 2
  1161. .sp 1P
  1162. .LP
  1163. 7.1.3
  1164.     \fIAssociation\(hyestablishment procedure\fR 
  1165. .sp 9p
  1166. .RT
  1167. .PP
  1168. This procedure is driven by the following events:
  1169. .RT
  1170. .LP
  1171.     a)
  1172.     an RT\(hyOPEN request primitive from the requestor
  1173. (association\(hyinitiator);
  1174. .LP
  1175.     b)
  1176.     an RTORQ APDU as user\(hydata on an A\(hyASSOCIATE indication
  1177. primitive;
  1178. .LP
  1179.     c)
  1180.     an RT\(hyOPEN response primitive from the acceptor
  1181. (association\(hyresponder);
  1182. .LP
  1183.     d)
  1184.      an A\(hyASSOCIATE confirm primitive that may contain either an RTOAC 
  1185. APDU, or an RTORJ APDU, or no APDU. 
  1186. .sp 1P
  1187. .LP
  1188. 7.1.3.1
  1189.     \fIRT\(hyOPEN request primitive\fR 
  1190. .sp 9p
  1191. .RT
  1192. .PP
  1193. The requesting RTPM forms an RTORQ APDU from the parameter values of the 
  1194. RT\(hyOPEN request primitive and its internal data. The RT\(hyOPEN request 
  1195. primitive parameters, except user\(hydata, are stored by the requesting 
  1196. RTPM for association\(hyrecovery. The requesting RTPM issues an A\(hyASSOCIATE 
  1197. request 
  1198. primitive also using information from the RT\(hyOPEN request primitive. 
  1199. The RTORQ APDU is the user information parameter value of the A\(hyASSOCIATE 
  1200. request 
  1201. primitive.
  1202. .PP
  1203. The requesting RTPM waits for a primitive from the ACSE\(hyprovider and 
  1204. does not accept any other primitive from the requestor. 
  1205. .RT
  1206. .sp 1P
  1207. .LP
  1208. 7.1.3.2
  1209.     \fIRTORQ APDU\fR 
  1210. .sp 9p
  1211. .RT
  1212. .PP
  1213. If the application\(hyassociation is not accepted by the
  1214. ACSE\(hyprovider, no A\(hyASSOCIATE indication primitive is received by 
  1215. the accepting RTPM and no action takes place. 
  1216. .PP
  1217. If the application\(hyassociation is accepted by the ACSE\(hyprovider, 
  1218. the accepting RTPM receives the RTORQ APDU as the user information parameter 
  1219. on an A\(hyASSOCIATE indication primitive. 
  1220. .PP
  1221. If any of the A\(hyASSOCIATE indication parameters or any of the RTORQ
  1222. APDU fields is unacceptable to the accepting RTPM, or if the accepting 
  1223. RTPM is not able to accept the application\(hyassociation, it forms and 
  1224. sends an RTORJ 
  1225. APDU with appropriate parameters from internal data. The accepting RTPM 
  1226. issues an A\(hyASSOCIATE response primitive. The RTORJ APDU is sent as 
  1227. the user 
  1228. information parameter of the A\(hyASSOCIATE response primitive. The
  1229. application\(hyassociation is not established. The accepting RTPM does 
  1230. not issue an RT\(hyOPEN indication. 
  1231. .bp
  1232. .PP
  1233. If the A\(hyASSOCIATE indication primitive and the RTORQ APDU parameters 
  1234. are acceptable to the accepting RTPM, it issues an RT\(hyOPEN indication 
  1235. primitive to the acceptor. The RT\(hyOPEN indication parameter values are 
  1236. derived from the RTORQ APDU and the A\(hyASSOCIATE indication primitive 
  1237. parameter values. 
  1238. .PP
  1239. The accepting RTPM waits for an RT\(hyOPEN response primitive from the
  1240. acceptor, or a primitive from the ACSE\(hyprovider.
  1241. .RT
  1242. .sp 1P
  1243. .LP
  1244. 7.1.3.3
  1245.     \fIRT\(hyOPEN response primitive\fR 
  1246. .sp 9p
  1247. .RT
  1248. .PP
  1249. When the accepting RTPM receives an RT\(hyOPEN response primitive from 
  1250. the acceptor, the result parameter specifies whether the acceptor has accepted 
  1251. (value \*Qaccepted\*U) or rejected the application\(hyassociation. 
  1252. .PP
  1253. If the application\(hyassociation is accepted by the acceptor, the
  1254. accepting RTPM forms an RTOAC APDU using the RT\(hyOPEN response primitive
  1255. parameters and internal data. The RT\(hyOPEN response primitive parameters, 
  1256. except user data, are stored by the accepting RTPM for association\(hyrecovery. 
  1257. .PP
  1258. The accepting RTPM issues an A\(hyASSOCIATE response primitive also using 
  1259. information from the RT\(hyOPEN response primitive. The RTOAC APDU is sent 
  1260. as the user information parameter of the A\(hyASSOCIATE response primitive. 
  1261. .PP
  1262. If the application\(hyassociation is rejected by the acceptor, the
  1263. accepting RTPM forms a RTORJ APDU using the RT\(hyOPEN response primitive
  1264. parameters and internal data. The accepting RTPM issues an 
  1265. A\(hyASSOCIATE
  1266. response
  1267. primitive also using information from the RT\(hyOPEN request primitive. 
  1268. The RTORJ APDU is sent as the user information parameter of the A\(hyASSOCIATE 
  1269. response 
  1270. primitive. The application\(hyassociation is not established.
  1271. .RT
  1272. .sp 1P
  1273. .LP
  1274. 7.1.3.4
  1275.     \fIA\(hyASSOCIATE confirm primitive\fR 
  1276. .sp 9p
  1277. .RT
  1278. .PP
  1279. The requesting RTPM receives an A\(hyASSOCIATE confirm primitive. The following 
  1280. situations are possible: 
  1281. .RT
  1282. .LP
  1283.     a)
  1284.     the application\(hyassociation has been accepted by the
  1285. acceptor;
  1286. .LP
  1287.     b)
  1288.     the accepting RTPM or the acceptor has rejected the
  1289. application\(hyassociation; or
  1290. .LP
  1291.     c)
  1292.     the ACSE service provider has rejected the
  1293. application\(hyassociation.
  1294. .PP
  1295. If the application\(hyassociation was accepted by the acceptor, the A\(hyASSOCIATE 
  1296. confirm primitive result parameter has the value \*Qaccepted\*U and the 
  1297. RTOAC APDU is the value of the user information parameter of the A\(hyASSOCIATE 
  1298. confirm primitive. The requesting RTPM issues an RT\(hyOPEN confirm primitive 
  1299. to the requestor. The result parameter has the value \*Qaccepted\*U and 
  1300. the user\(hydata parameter contains the user\(hydata parameter value of 
  1301. the RTOAC APDU. The other parameters of the RT\(hyOPEN confirm primitive 
  1302. are derived from the A\(hyASSOCIATE 
  1303. confirm primitive.
  1304. .PP
  1305. If the application\(hyassociation was rejected by either the acceptor or 
  1306. the accepting RTPM, the 
  1307. A\(hyASSOCIATE confirm primitive result parameter has   one
  1308. of the values \*Qrejected\|.\|.\|.\*U, the A\(hyASSOCIATE confirm primitive 
  1309. result source parameter has the value \*QACSE service\(hyuser\*U and the 
  1310. RTORJ APDU is the value of the user information parameter of the A\(hyASSOCIATE 
  1311. confirm primitive. The 
  1312. requesting RTPM issues an RT\(hyOPEN confirm primitive to the requestor. The
  1313. result parameter has one of the values \*Qrejected\|.\|.\|.\*U and the 
  1314. other parameter values are derived from the A\(hyASSOCIATE confirm primitive 
  1315. parameters and the 
  1316. RTORJ APDU. The application\(hyassociation is not established.
  1317. .PP
  1318. If the application\(hyassociation was rejected by the ACSE
  1319. service\(hyprovider, the A\(hyASSOCIATE confirm primitive result parameter 
  1320. has one of the values \*Qrejected\|.\|.\|.\*U, the A\(hyASSOCIATE confirm 
  1321. primitive result source 
  1322. parameter has either the value \*QACSE service\(hyprovider\*U or \*Qpresentation 
  1323. service\(hyprovider\*U. The user\(hydata parameter of the RT\(hyOPEN confirm 
  1324. primitive is absent and the application\(hyassociation is not established. 
  1325. The other parameters of the RT\(hyOPEN confirm primitive are derived from 
  1326. the A\(hyASSOCIATE confirm 
  1327. primitive.
  1328. .bp
  1329. .RT
  1330. .sp 1P
  1331. .LP
  1332. 7.1.4
  1333.     \fIUse of the RTORQ APDU fields\fR 
  1334. .sp 9p
  1335. .RT
  1336. .PP
  1337. The RTORQ APDU fields are used as follows.
  1338. .RT
  1339. .sp 1P
  1340. .LP
  1341. 7.1.4.1
  1342.     \fICheckpoint\(hysize\fR 
  1343. .sp 9p
  1344. .RT
  1345. .PP
  1346. The checkpoint\(hysize field allows negotiation of the maximum amount of 
  1347. data (in units of 1024\ octets) that may be sent between two minor 
  1348. synchronization points. A value of zero from the requesting RTPM invites the
  1349. accepting RTPM to select checkpoint\(hysize. If this field is absent,
  1350. checkpoint\(hysize zero is assumed.
  1351. .RT
  1352. .sp 1P
  1353. .LP
  1354. 7.1.4.2
  1355.     \fIWindow\(hysize\fR 
  1356. .sp 9p
  1357. .RT
  1358. .PP
  1359. The window\(hysize field allows negotiation of the maximum number of outstanding 
  1360. minor synchronization points before data transfer shall be 
  1361. suspended. If this field is absent, window\(hysize\ 3 is assumed.
  1362. .RT
  1363. .sp 1P
  1364. .LP
  1365. 7.1.4.3
  1366.     \fIDialogue\(hymode\fR 
  1367. .sp 9p
  1368. .RT
  1369. .PP
  1370. This is the dialogue\(hymode parameter value from the RT\(hyOPEN request 
  1371. primitive. It appears as the dialogue\(hymode parameter value of the RT\(hyOPEN 
  1372. indication primitive.
  1373. .PP
  1374. The value of this field is either monologue, or two\(hyway\(hyalternate. 
  1375. If this field is absent, monologue is assumed. 
  1376. .RT
  1377. .sp 1P
  1378. .LP
  1379. 7.1.4.4
  1380.     \fIUser\(hydata\fR 
  1381. .sp 9p
  1382. .RT
  1383. .PP
  1384. This is the user\(hydata parameter value from the RT\(hyOPEN request
  1385. primitive. It appears as the user\(hydata paremeter value of the RT\(hyOPEN
  1386. indication primitive.
  1387. .PP
  1388. The value of this field is transparent to the RTPM.
  1389. .RT
  1390. .sp 1P
  1391. .LP
  1392. 7.1.4.5
  1393.     \fISession\(hyconnection\(hyidentifier\fR 
  1394. .sp 9p
  1395. .RT
  1396. .PP
  1397. This field is used only in the association\(hyrecovery procedure.
  1398. .RT
  1399. .sp 1P
  1400. .LP
  1401. 7.1.4.6
  1402.     \fIApplication\(hyprotocol\fR 
  1403. .sp 9p
  1404. .RT
  1405. .PP
  1406. This field is used solely in the X.410\(hy1984 mode. It is the
  1407. application\(hyprotocol parameter value from the RT\(hyOPEN request primitive. 
  1408. It 
  1409. appears as the application\(hyprotocol parameter value in the RT\(hyOPEN 
  1410. indication primitive. 
  1411. .RT
  1412. .sp 1P
  1413. .LP
  1414. 7.1.5
  1415.     \fIUse of the RTOAC APDU fields\fR 
  1416. .sp 9p
  1417. .RT
  1418. .PP
  1419. The RTOAC APDU fields are used as follows.
  1420. .RT
  1421. .sp 1P
  1422. .LP
  1423. 7.1.5.1
  1424.     \fICheckpoint\(hysize\fR 
  1425. .sp 9p
  1426. .RT
  1427. .PP
  1428. The checkpoint\(hysize field allows negotiation of the maximum amount of 
  1429. data (in units of 1024\ octets) that may be sent between two minor 
  1430. synchronization points. If the checkpoint\(hysize in the RTORQ APDU is greater
  1431. than zero, the accepting RTPM shall supply a value in the RTOAC APDU that is
  1432. less than or equal to the value in the RTORQ APDU, else the accepting RPTM 
  1433. may select checkpoint\(hysize. A value of zero from the accepting RTPM 
  1434. indicates that checkpointing will not be used. The value of this field 
  1435. becomes the agreed 
  1436. maximum value and governs both directions of transfer. If this field is 
  1437. absent, it is assumed that checkpointing will not be used. 
  1438. .RT
  1439. .sp 1P
  1440. .LP
  1441. 7.1.5.2
  1442.     \fIWindow\(hysize\fR 
  1443. .sp 9p
  1444. .RT
  1445. .PP
  1446. This field is only used if checkpoint\(hysize of the RTOAC APDU is
  1447. greater than zero. The window\(hysize field allows negotiation of the maximum
  1448. number of outstanding minor synchronization points before data transfer 
  1449. shall be suspended. The accepting RTPM shall supply a value that is less 
  1450. than or 
  1451. equal to the value in the RTORQ APDU. This becomes the agreed maximum size 
  1452. and governs both directions of transfer. If this field is absent, window\(hysize\ 
  1453. 3 is assumed. 
  1454. .bp
  1455. .RT
  1456. .sp 1P
  1457. .LP
  1458. 7.1.5.3
  1459.     \fIUser\(hydata\fR 
  1460. .sp 9p
  1461. .RT
  1462. .PP
  1463. This is the user\(hydata parameter value from the RT\(hyOPEN response
  1464. primitive. It appears as the user\(hydata parameter value of the RT\(hyOPEN 
  1465. confirm service primitive. 
  1466. .PP
  1467. The value of this field is transparent to the RTPM.
  1468. .RT
  1469. .sp 1P
  1470. .LP
  1471. 7.1.5.4
  1472.     \fISession\(hyconnection\(hyidentifier\fR 
  1473. .sp 9p
  1474. .RT
  1475. .PP
  1476. This field is used only in the association\(hyrecovery procedure.
  1477. .RT
  1478. .sp 1P
  1479. .LP
  1480. 7.1.6
  1481.     \fIUse of the RTORJ APDU fields\fR 
  1482. .sp 9p
  1483. .RT
  1484. .PP
  1485. The RTORJ APDU fields are used as follows.
  1486. .RT
  1487. .sp 1P
  1488. .LP
  1489. 7.1.6.1
  1490.     \fIRefuse\(hyreason\fR 
  1491. .sp 9p
  1492. .RT
  1493. .PP
  1494. The refuse\(hyreason field is only used in the X.410\(hy1984 mode.
  1495. .PP
  1496. This field may contain one of the following values:
  1497. .RT
  1498. .LP
  1499. .sp 1
  1500. \(em
  1501.     rts\(hybusy
  1502.     The accepting RTPM, or the acceptor, is so loaded that it cannot
  1503. support a new application\(hyassociation. The requesting RTPM should retry
  1504. after a period of time. This value is either provided by the accepting
  1505. RTPM, or is derived from the result parameter value \*Qrejected (transient)\*U
  1506. of the RT\(hyOPEN response primitive from the acceptor. It appears as the
  1507. result parameter value \*Qrejected (transient)\*U of the RT\(hyOPEN confirm
  1508. primitive to the requestor.
  1509. .LP
  1510. \(em
  1511.     cannot recover
  1512.     This value is used only by the accepting RTPM in the
  1513. association\(hyrecovery procedure if it is unable to accept an
  1514. association\(hyrecovery.
  1515. \(em
  1516.     validation failure 
  1517.     The acceptor does not recognize the requestor's credentials as being
  1518. valid for the proposed application\(hyassociation. This value is the
  1519. user\(hydata parameter value of the RT\(hyOPEN response primitive from the
  1520. acceptor. It appears as the user\(hydata parameter value of the RT\(hyOPEN
  1521. confirm primitive to the requestor.
  1522. .sp 1P
  1523. .LP
  1524. \(em
  1525.     unacceptable\(hydialogue\(hymode
  1526.     The acceptor does not accept the type of dialogue mode proposed for
  1527. the application\(hyassociation. This value is the user\(hydata parameter value
  1528. of the RT\(hyOPEN response primitive from the acceptor. It appears as the
  1529. user\(hydata parameter value of the RT\(hyOPEN confirm primitive to the
  1530. requestor.
  1531. 7.1.6.2
  1532.     \fIUser\(hydata\fR 
  1533. .sp 9p
  1534. .RT
  1535. .PP
  1536. This field is only used in the normal mode:
  1537. .PP
  1538. This is the user\(hydata parameter value of the RT\(hyOPEN response
  1539. primitive from the acceptor. It appears as the user\(hydata parameter value 
  1540. of the RT\(hyOPEN confirm primitive to the requestor. 
  1541. .PP
  1542. The value of this field is transparent to the RTPM.
  1543. .bp
  1544. .RT
  1545. .sp 2P
  1546. .LP
  1547. 7.2
  1548.     \fIAssociation\(hyrelease\fR 
  1549. .sp 1P
  1550. .RT
  1551. .sp 1P
  1552. .LP
  1553. 7.2.1
  1554.     \fIPurpose\fR 
  1555. .sp 9p
  1556. .RT
  1557. .PP
  1558. The association\(hyrelease procedure is used for the normal release of 
  1559. an application\(hyassociation by the association\(hyinitiator without loss 
  1560. of 
  1561. information in transit.
  1562. .RT
  1563. .sp 1P
  1564. .LP
  1565. 7.2.2
  1566.     \fIAPDUs used\fR 
  1567. .sp 9p
  1568. .RT
  1569. .PP
  1570. No APDUs are used in this procedure.
  1571. .RT
  1572. .sp 1P
  1573. .LP
  1574. 7.2.3
  1575.     \fIAssociation\(hyrelease procedure\fR 
  1576. .sp 9p
  1577. .RT
  1578. .PP
  1579. This procedure is driven by the following events:
  1580. .RT
  1581. .LP
  1582.     a)
  1583.     an RT\(hyCLOSE request primitive from the requestor
  1584. (association\(hyinitiator);
  1585. .LP
  1586.     b)
  1587.     an A\(hyRELEASE indication primitive;
  1588. .LP
  1589.     c)
  1590.     an RT\(hyCLOSE response primitive from the acceptor
  1591. (association\(hyresponder);
  1592. .LP
  1593.     d)
  1594.     an A\(hyRELEASE confirm primitive.
  1595. .sp 1P
  1596. .LP
  1597. 7.2.3.1
  1598.     \fIRT\(hyCLOSE request primitive\fR 
  1599. .sp 9p
  1600. .RT
  1601. .PP
  1602. The requestor may issue an RT\(hyCLOSE request primitive only if it
  1603. possesses the turn and if there is no outstanding RT\(hyTRANSFER confirm
  1604. primitive. When an RT\(hyCLOSE request primitive is received from the requestor, 
  1605. the requesting (association\(hyinitiating) RTPM issues an A\(hyRELEASE 
  1606. request 
  1607. primitive. The reason parameter of the A\(hyRELEASE request primitive is the
  1608. reason parameter of the RT\(hyCLOSE request primitive. The user information
  1609. parameter of the A\(hyRELEASE request primitive is the user\(hydata parameter 
  1610. of the RT\(hyCLOSE request primitive. 
  1611. .PP
  1612. \fINote\fR \ \(em\ No RT\(hyCLOSE request primitive parameters are present in
  1613. X.410\(hy1984 mode.
  1614. .PP
  1615. The requesting RTPM waits for a primitive from the ACSE
  1616. service\(hyprovider and does not accept any other primitive from the
  1617. requestor.
  1618. .RT
  1619. .sp 1P
  1620. .LP
  1621. 7.2.3.2
  1622.     \fIA\(hyRELEASE indication primitive\fR 
  1623. .sp 9p
  1624. .RT
  1625. .PP
  1626. The accepting RTPM receives the A\(hyRELEASE indication
  1627. primitive.
  1628. .PP
  1629. It issues an RT\(hyCLOSE indication primitive to the acceptor. The
  1630. RT\(hyCLOSE indication parameter values are derived from the A\(hyRELEASE 
  1631. indication primitive. 
  1632. .PP
  1633. \fINote\fR \ \(em\ No RT\(hyCLOSE indication primitive parameters are present 
  1634. in 
  1635. X.410\(hy1984 mode.
  1636. .PP
  1637. The RTPM waits for a primitive from the acceptor or the used service provider. 
  1638. .RT
  1639. .sp 1P
  1640. .LP
  1641. 7.2.3.3
  1642.     \fIRT\(hyCLOSE response primitive\fR 
  1643. .sp 9p
  1644. .RT
  1645. .PP
  1646. When the accepting RTPM receives an RT\(hyCLOSE response primitive,
  1647. the accepting RTPM issues an A\(hyRELEASE response primitive. The reason 
  1648. parameter of the A\(hyRELEASE response primitive is the reason parameter 
  1649. of the RT\(hyCLOSE 
  1650. response primitive. The user information parameter of the A\(hyRELEASE response
  1651. primitive is the user\(hydata parameter of the RT\(hyCLOSE response primitive. 
  1652. The 
  1653. result parameter value of the A\(hyRELEASE response primitive is \*Qaffirmative\*U. 
  1654. .PP
  1655. \fINote\fR \ \(em\ No RT\(hyCLOSE response primitive parameters are present in
  1656. X.410\(hy1984 mode.
  1657. .bp
  1658. .RT
  1659. .sp 1P
  1660. .LP
  1661. 7.2.3.4
  1662.     \fIA\(hyRELEASE confirm primitive\fR 
  1663. .sp 9p
  1664. .RT
  1665. .PP
  1666. The requesting RTPM receives an A\(hyRELEASE confirm primitive.
  1667. .PP
  1668. The requesting RTPM issues an RT\(hyOPEN confirm primitive to the
  1669. acceptor. The RT\(hyOPEN confirm primitive parameter values are derived 
  1670. from the A\(hyRELEASE confirm primitive. 
  1671. .PP
  1672. \fINote\fR \ \(em\ No RT\(hyCLOSE confirm primitive parameters are present in
  1673. X.410\(hy1984 mode.
  1674. .RT
  1675. .sp 2P
  1676. .LP
  1677. 7.3
  1678.     \fITransfer\fR 
  1679. .sp 1P
  1680. .RT
  1681. .sp 1P
  1682. .LP
  1683. 7.3.1
  1684.     \fIPurpose\fR 
  1685. .sp 9p
  1686. .RT
  1687. .PP
  1688. The transfer procedure is used to transfer an RTSE\(hyuser APDU from the 
  1689. requestor (sender) to the acceptor (receiver). 
  1690. .RT
  1691. .sp 1P
  1692. .LP
  1693. 7.3.2
  1694.     \fIAPDUs used\fR 
  1695. .sp 9p
  1696. .RT
  1697. .PP
  1698. Each RTSE\(hyuser APDU, conveyed in an RT\(hyTRANSFER request,
  1699. constitutes an activity. For each application\(hyassociation, at most one
  1700. activity, or one interrupted activity awaiting resumption, may exist at a
  1701. time.
  1702. .PP
  1703. The RTSE\(hyuser APDU value is transformed into the encoded\(hyAPDU\(hyvalue
  1704. and vice versa by means of the local syntax\(hymatching services. The transfer
  1705. procedure uses the RT\(hyTRANSFER (RTTR) APDU. The transfer procedure supports
  1706. segmenting and reassembling of the encoded\(hyAPDU\(hyvalue into/from one 
  1707. or more 
  1708. RTTR APDUs.
  1709. .PP
  1710. An encoded\(hyAPDU\(hyvalue is transferred as a single RTTR APDU if
  1711. checkpointing is not used. Otherwise, the encoded\(hyAPDU\(hyvalue is transferred 
  1712. as a series of RTTR APDUs, the maximum size (i.e.\ number of octets forming 
  1713. the 
  1714. RTTR APDU value) of each being the negotiated checkpoint\(hysize. The
  1715. concatenation of the RTTR APDU values is the encoded\(hyAPDU\(hyvalue.
  1716. .PP
  1717. The fields of the RTTR APDU are listed in Table 5/X.228.
  1718. .RT
  1719. .LP
  1720. .sp 1
  1721. .ce
  1722. \fBH.T. [T5.228]\fR 
  1723. .ce
  1724. TABLE\ 5/X.228
  1725. .ce
  1726. \fBRTTR APDU Fields\fR 
  1727. .ps 9
  1728. .vs 11
  1729. .nr VS 11
  1730. .nr PS 9
  1731. .TS
  1732. center box;
  1733. cw(90p) | cw(30p) | cw(30p) | cw(30p) .
  1734. Field name    Presence    Source    Sink
  1735. _
  1736. .T&
  1737. lw(90p) | cw(30p) | cw(30p) | cw(30p) .
  1738. User\(hydata\(hypart    M    req    ind/conf
  1739. _
  1740. .TE
  1741. .nr PS 9
  1742. .RT
  1743. .ad r
  1744. \fBTable 5/X.228 [T5.228], p.\fR 
  1745. .sp 1P
  1746. .RT
  1747. .ad b
  1748. .RT
  1749. .sp 1P
  1750. .LP
  1751. .sp 1
  1752. 7.3.3
  1753.     \fITransfer procedure\fR 
  1754. .sp 9p
  1755. .RT
  1756. .PP
  1757. This procedure is driven by the following events:
  1758. .RT
  1759. .LP
  1760.     a)
  1761.     an RT\(hyTRANSFER request primitive from the requestor
  1762. (sender);
  1763. .LP
  1764.     b)
  1765.      a P\(hyACTIVITY\(hySTART indication primitive, followed by one or more 
  1766. RTTR APDUs as user\(hydata of P\(hyDATA indication primitives each, except 
  1767. the last, followed by a P\(hyMINOR\(hySYNCHRONIZE indication primitive; 
  1768. .LP
  1769.     c)
  1770.     a P\(hyMINOR\(hySYNCHRONIZE confirm primitive;
  1771. .LP
  1772.     d)
  1773.     a P\(hyACTIVITY\(hyEND indication primitive;
  1774. .LP
  1775.     e)
  1776.     a P\(hyACTIVITY\(hyEND confirm primitive;
  1777. .LP
  1778.     f
  1779. )
  1780.     a transfer time\(hyout.
  1781. .bp
  1782. .sp 1P
  1783. .LP
  1784. 7.3.3.1
  1785.     \fIRT\(hyTRANSFER request primitive\fR 
  1786. .sp 9p
  1787. .RT
  1788. .PP
  1789. If the requesting RTPM possesses the turn and receives a
  1790. RT\(hyTRANSFER request from the requestor, the requesting RTPM transforms the
  1791. RTSE\(hyuser APDU value into the encoded\(hyAPDU\(hyvalue by means of the 
  1792. encoding 
  1793. service of the local syntax\(hymatching services.
  1794. .PP
  1795. The requesting RTPM issues a P\(hyACTIVITY\(hySTART request primitive and
  1796. may start transmitting the first RTTR APDU in a P\(hyDATA request primitive
  1797. immediately after the P\(hyACTIVITY\(hySTART request primitive is issued, 
  1798. since the latter service is not a confirmed service. 
  1799. .PP
  1800. The maximum RTTR APDU size will have been negotiated during the
  1801. association\(hyestablishment procedure. The requesting RTPM shall submit, in
  1802. P\(hyDATA request primitives, RTTR APDUs that conform to that agreement.
  1803. Checkpoints may only be inserted if a checkpoint\(hysize greater than zero was
  1804. negotiated during the association\(hyestablishment procedure.
  1805. .PP
  1806. If a transferred RTTR APDU is not the last in a series of RTTR APDUs used 
  1807. to transfer a single encoded\(hyAPDU\(hyvalue, the requesting RTPM inserts 
  1808. checkpoint by issuing a P\(hyMINOR\(hySYNCHRONIZE request primitive. The 
  1809. requesting RTPM uses only the \*Qexplicit confirmation expected\*U type 
  1810. of minor 
  1811. synchronization. The requesting RTPM may issue further P\(hyDATA request
  1812. primitives and P\(hyMINOR\(hySYNCHRONIZE request primitives unless the agreed
  1813. window\(hysize has been reached.
  1814. .PP
  1815. If the RTTR APDU is the only one, or the last in a series of RTTR
  1816. APDUs used to transfer a single encoded\(hyAPDU\(hyvalue, the requesting 
  1817. RTPM issues a P\(hyACTIVITY\(hyEND request primitive. 
  1818. .PP
  1819. Consecutive P\(hyDATA request primitives shall not be issued, and all
  1820. data transfer shall take place within an activity.
  1821. .RT
  1822. .sp 1P
  1823. .LP
  1824. 7.3.3.2
  1825.     \fIP\(hyACTIVITY\(hySTART indication primitive, RTTR APDUs,\fR 
  1826. \fIand P\(hyMINOR\(hySYNCHRONIZE indication primitives\fR 
  1827. .sp 9p
  1828. .RT
  1829. .PP
  1830. The accepting RTPM receives a P\(hyACTIVITY\(hySTART indication
  1831. primitive, indicating the start of transfer of a RTSE\(hyuser APDU. The 
  1832. accepting RTPM receives an RTTR APDU as user\(hydata of a P\(hyDATA indication 
  1833. primitive. 
  1834. .PP
  1835. If the RTTR APDU is not the last in a series of RTTR APDUs used to
  1836. transfer a single encoded\(hyAPDU\(hyvalue, the accepting RTPM receives a
  1837. P\(hyMINOR\(hySYNCHRONIZE indication primitive. If the accepting RTPM has 
  1838. secured the RTTR APDU, it issues a P\(hyMINOR\(hySYNCHRONIZE response primitive. 
  1839. .RT
  1840. .sp 1P
  1841. .LP
  1842. 7.3.3.3
  1843.     \fIP\(hyMINOR\(hySYNCHRONIZE confirmed primitive\fR 
  1844. .sp 9p
  1845. .RT
  1846. .PP
  1847. When the requesting RTPM receives a P\(hyMINOR\(hySYNCHRONIZE confirm
  1848. primitive, it assumes that the accepting RTPM has secured the
  1849. encoded\(hyAPDU\(hyvalue APDU up to that point.
  1850. .PP
  1851. The requesting RTPM may issue further P\(hyDATA request primitives and
  1852. P\(hyMINOR\(hySYNCHRONIZE request primitives unless the agreed window\(hysize 
  1853. has been reached. The window is advanced when a P\(hyMINOR\(hySYNCHRONIZE 
  1854. confirm primitive is received by the requesting RTPM. 
  1855. .PP
  1856. When a complete encoded\(hyAPDU\(hyvalue has been transmitted, the
  1857. requesting RTPM issues a 
  1858. P\(hyACTIVITY\(hyEND request primitive.
  1859. .RT
  1860. .sp 1P
  1861. .LP
  1862. 7.3.3.4
  1863.     \fIP\(hyACTIVITY\(hyEND indication primitive\fR 
  1864. .sp 9p
  1865. .RT
  1866. .PP
  1867. A P\(hyACTIVITY\(hyEND indication primitive indicates to the accepting
  1868. RTPM that a complete encoded\(hyAPDU\(hyvalue has been transferred. The 
  1869. accepting 
  1870. RTPM transforms the encoded\(hyAPDU\(hyvalue into the RTSE\(hyuser APDU 
  1871. value by means of the decoding service of the local syntax\(hymatching\(hyservices. 
  1872. .PP
  1873. If the accepting RTPM has secured the complete RTSE\(hyuser APDU, it
  1874. issues an RT\(hyTRANSFER indication primitive to the acceptor, and issues a
  1875. P\(hyACTIVITY\(hyEND response primitive.
  1876. .PP
  1877. The accepting RTPM records the session\(hyconnection\(hyidentifier and 
  1878. the activity identifier of the last RTSE\(hyuser APDU which it completely 
  1879. secured for association\(hyrecovery purposes. 
  1880. .bp
  1881. .RT
  1882. .sp 1P
  1883. .LP
  1884. 7.3.3.5
  1885.     \fIP\(hyACTIVITY\(hyEND confirm primitive\fR 
  1886. .sp 9p
  1887. .RT
  1888. .PP
  1889. An activity end is an implicit major synchronization point and once successfully 
  1890. confirmed by means of an P\(hyACTIVITY\(hyEND confirm primitive, it 
  1891. indicates to the requesting RTPM that the RTSE\(hyuser APDU has been secured by
  1892. the accepting RTPM. The requesting RTPM may then delete the transferred
  1893. RTSE\(hyuser APDU.
  1894. .PP
  1895. When the requesting RTPM receives the P\(hyACTIVITY\(hyEND confirm
  1896. primitive, it issues an RT\(hyTRANSFER confirm primitive with a result 
  1897. parameter value of \*QAPDU\(hytransferred\*U to the requestor. 
  1898. .RT
  1899. .sp 1P
  1900. .LP
  1901. 7.3.3.6
  1902.     \fITransfer time\(hyout\fR 
  1903. .sp 9p
  1904. .RT
  1905. .PP
  1906. If an APDU has not been transferred within the time specified in
  1907. the transfer\(hytime parameter of the RT\(hyTRANSFER request primitive 
  1908. (that is, the requesting RTPM has not received the P\(hyACTIVITY\(hyEND 
  1909. confirm primitive), the 
  1910. requesting RTPM performs the transfer\(hydiscard procedure followed by the
  1911. transfer\(hyabort procedure.
  1912. .PP
  1913. If during the transfer\(hydiscard procedure, the requesting RTPM does not 
  1914. receive a P\(hyACTIVITY\(hyDISCARD confirm primitive within a (locally 
  1915. specified) 
  1916. reasonable time, the requesting RTPM performs the transfer\(hyabort procedure
  1917. followed by the provider\(hyabort procedure.
  1918. .RT
  1919. .sp 2P
  1920. .LP
  1921. 7.4
  1922.     \fITurn\(hyplease\fR 
  1923. .sp 1P
  1924. .RT
  1925. .sp 1P
  1926. .LP
  1927. 7.4.1
  1928.     \fIPurpose\fR 
  1929. .sp 9p
  1930. .RT
  1931. .PP
  1932. The turn\(hyplease procedure is used by a receiver (requestor) to
  1933. request the turn from the sender (acceptor).
  1934. .RT
  1935. .sp 1P
  1936. .LP
  1937. 7.4.2
  1938.     \fIAPDUs used\fR 
  1939. .sp 9p
  1940. .RT
  1941. .PP
  1942. The turn\(hyplease procedure uses the RT\(hyTURN\(hyPLEASE (RTTP) APDU.
  1943. .PP
  1944. The fields of the RTTP APDU are listed in Table 6/X.228.
  1945. .RT
  1946. .LP
  1947. .ce
  1948. \fBH.T. [T6.228]\fR 
  1949. .ce
  1950. TABLE\ 6/X.228
  1951. .ce
  1952. \fBRTTP APDU Fields\fR 
  1953. .ce
  1954. \fR 
  1955. .ps 9
  1956. .vs 11
  1957. .nr VS 11
  1958. .nr PS 9
  1959. .TS
  1960. center box;
  1961. cw(90p) | cw(30p) | cw(30p) | cw(30p) .
  1962. Field name    Presence    Source    Sink
  1963. _
  1964. .T&
  1965. lw(90p) | cw(30p) | cw(30p) | cw(30p) .
  1966. Priority    U    req    ind
  1967. _
  1968. .TE
  1969. .nr PS 9
  1970. .RT
  1971. .ad r
  1972. \fBTable 6/X.228 [T6.228], p.\fR 
  1973. .sp 1P
  1974. .RT
  1975. .ad b
  1976. .RT
  1977. .sp 1P
  1978. .LP
  1979. 7.4.3
  1980.     \fITurn\(hyplease procedure\fR 
  1981. .sp 9p
  1982. .RT
  1983. .PP
  1984. This procedure is driven by the following events:
  1985. .RT
  1986. .LP
  1987.     a)
  1988.     am RT\(hyTURN\(hyPLEASE request primitive from the requestor;
  1989. .LP
  1990.     b)
  1991.     an RTTP APDU as user\(hydata of a P\(hyTOKEN\(hyPLEASE indication
  1992. primitive.
  1993. .sp 1P
  1994. .LP
  1995. 7.4.3.1
  1996.     \fIRT\(hyTURN\(hyPLEASE request primitive\fR 
  1997. .sp 9p
  1998. .RT
  1999. .PP
  2000. If the requesting RTPM does not possess the turn and receives an
  2001. RT\(hyTURN\(hyPLEASE request from the requestor, the requesting RTPM issues a
  2002. P\(hyTOKEN\(hyPLEASE request primitive. If the priority parameter is present 
  2003. in the RT\(hyTURN\(hyPLEASE request primitive, and RTTP APDU is formed 
  2004. from the parameter 
  2005. value and transferred as user\(hydata of the P\(hyTOKEN\(hyPLEASE request 
  2006. primitive. 
  2007. This procedure may be performed either inside or outside an activity.
  2008. .bp
  2009. .RT
  2010. .sp 1P
  2011. .LP
  2012. 7.4.3.2
  2013.     \fIRTTP APDU\fR 
  2014. .sp 9p
  2015. .RT
  2016. .PP
  2017. If the accepting RTPM receives a P\(hyTOKEN\(hyPLEASE indication
  2018. primitive, the accepting RTPM issues an RT\(hyTURN\(hyPLEASE indication 
  2019. primitive to the acceptor. If an RTTP APDU is transferred as user\(hydata 
  2020. of the P\(hyTOKEN\(hyPLEASE indication primitive, the RT\(hyTURN\(hyPLEASE 
  2021. indication primitive parameter is 
  2022. present and derived from the RTTP APDU.
  2023. .RT
  2024. .sp 1P
  2025. .LP
  2026. 7.4.4
  2027.     \fIUse of the RTTP fields\fR 
  2028. .sp 9p
  2029. .RT
  2030. .PP
  2031. The RTTP APDU fields are used as follows.
  2032. .RT
  2033. .sp 1P
  2034. .LP
  2035. 7.4.4.1
  2036.     \fIPriority\fR 
  2037. .sp 9p
  2038. .RT
  2039. .PP
  2040. This is the priority parameter value of the RT\(hyTURN\(hyPLEASE request 
  2041. primitive. It appears as the priority parameter value of the RT\(hyTURN\(hyPLEASE 
  2042. indication primitive.
  2043. .PP
  2044. The value of this field is transparent to the RTPM.
  2045. .RT
  2046. .sp 2P
  2047. .LP
  2048. 7.5
  2049.     \fITurn\(hygive\fR 
  2050. .sp 1P
  2051. .RT
  2052. .sp 1P
  2053. .LP
  2054. 7.5.1
  2055.     \fIPurpose\fR 
  2056. .sp 9p
  2057. .RT
  2058. .PP
  2059. The turn\(hygive procedure is used by a sender (requestor) to give the 
  2060. turn to the receiver (acceptor). The requestor becomes the receiver and 
  2061. the 
  2062. acceptor becomes the sender.
  2063. .RT
  2064. .sp 1P
  2065. .LP
  2066. 7.5.2
  2067.     \fIAPDUs used\fR 
  2068. .sp 9p
  2069. .RT
  2070. .PP
  2071. No APDUs are used in this procedure.
  2072. .RT
  2073. .sp 1P
  2074. .LP
  2075. 7.5.3
  2076.     \fITurn\(hygive procedure\fR 
  2077. .sp 9p
  2078. .RT
  2079. .PP
  2080. The turn\(hygive procedure is driven by the following
  2081. events:
  2082. .RT
  2083. .LP
  2084.     a)
  2085.     an RT\(hyTURN\(hyGIVE request primitive;
  2086. .LP
  2087.     b)
  2088.     a P\(hyCONTROL\(hyGIVE indication primitive.
  2089. .sp 1P
  2090. .LP
  2091. 7.5.3.1
  2092.     \fIRT\(hyTURN\(hyGIVE request primitive\fR 
  2093. .sp 9p
  2094. .RT
  2095. .PP
  2096. If the requesting RTPM possesses the turn and receives an
  2097. RT\(hyTURN\(hyGIVE request primitive from the requestor, it issues a P\(hyCONTROL\(hyGIVE 
  2098. request primitive and becomes the receiving RTPM. This may be done only 
  2099. outside an activity. 
  2100. .RT
  2101. .sp 1P
  2102. .LP
  2103. 7.5.3.2
  2104.     \fIP\(hyCONTROL\(hyGIVE indication primitive\fR 
  2105. .sp 9p
  2106. .RT
  2107. .PP
  2108. If the accepting RTPM receives a P\(hyCONTROL\(hyGIVE indication
  2109. primitive, the accepting RTPM issues an RT\(hyTURN\(hyGIVE indication primitive 
  2110. to 
  2111. the acceptor, and issues a P\(hyCONTROL\(hyGIVE response primitive. The 
  2112. accepting 
  2113. RTPM becomes the sending RTPM.
  2114. .RT
  2115. .LP
  2116. 7.6
  2117.     \fIError reporting\fR 
  2118. .sp 1P
  2119. .RT
  2120. .sp 2P
  2121. .LP
  2122. 7.6.1
  2123.     \fIUser\(hyexception\(hyreport\fR 
  2124. .sp 1P
  2125. .RT
  2126. .sp 1P
  2127. .LP
  2128. 7.6.1.1
  2129.     \fIPurpose\fR 
  2130. .sp 9p
  2131. .RT
  2132. .PP
  2133. The user\(hyexception\(hyreport procedure is used by the receiving RTPM 
  2134. to report an error situation to the sending RTPM. 
  2135. .RT
  2136. .sp 1P
  2137. .LP
  2138. 7.6.1.2
  2139.     \fIAPDUs used\fR 
  2140. .sp 9p
  2141. .RT
  2142. .PP
  2143. No APDUs are used in this procedure.
  2144. .bp
  2145. .RT
  2146. .sp 1P
  2147. .LP
  2148. 7.6.1.3
  2149.     \fIUser\(hyexception\(hyreport procedure\fR 
  2150. .sp 9p
  2151. .RT
  2152. .PP
  2153. This procedure is driven by the following events:
  2154. .RT
  2155. .LP
  2156.     a)
  2157.     a receiving RTPM problem;
  2158. .LP
  2159.     b)
  2160.     a P\(hyU\(hyEXCEPTION\(hyREPORT indication primitive.
  2161. .sp 1P
  2162. .LP
  2163. 7.6.1.3.1
  2164.     \fIReceiving RTPM problem\fR 
  2165. .sp 9p
  2166. .RT
  2167. .PP
  2168. If the receiving RTPM detects a problem, it issues a
  2169. P\(hyU\(hyEXCEPTION\(hyREPORT request primitive and starts a local recovery 
  2170. timer. 
  2171. Depending on the severity of the detected error, the value of the reason
  2172. parameter of the P\(hyU\(hyEXCEPTION\(hyREPORT request primitive is as
  2173. follows:
  2174. .RT
  2175. .LP
  2176.     a)
  2177.      In severe problem situations, the velue \*Qreceiving ability jeopardized\*U 
  2178. is used. 
  2179. .LP
  2180.     b)
  2181.      In exceptional circumstances, the receiving RTPM may have to delete a 
  2182. partially received RTSE\(hyuser APDU, even though some minor 
  2183. synchromization points have been confirmed. In this case, the value
  2184. \*Qunrecoverable procedure error\*U is used.
  2185. .LP
  2186.     c)
  2187.      If the receiving RTPM is not willing to complete a transfer procedure, 
  2188. the value \*Qnon\(hyspecific error\*U is used. 
  2189. .LP
  2190.     d)
  2191.     If the sending RTPM resumes a transfer procedure already
  2192. finished by the receiving RTPM (see clause\ 7.8.1.3.2), the value \*Qsequence
  2193. error\*U is used.
  2194. .LP
  2195.     e)
  2196.      For all other less severe error situations, the value \*Qlocal SS\(hyuser 
  2197. error\*U is used. 
  2198. .sp 1P
  2199. .LP
  2200. 7.6.1.3.2
  2201.     \fIP\(hyU\(hyEXCEPTION\(hyREPORT indication primitive\fR 
  2202. .sp 9p
  2203. .RT
  2204. .PP
  2205. If the sending RTPM receives a P\(hyU\(hyEXCEPTION\(hyREPORT indication
  2206. primitive, it performs one of the following procedures depending on the 
  2207. reason parameter value of the P\(hyU\(hyEXCEPTION\(hyREPORT indication 
  2208. primitive: 
  2209. .RT
  2210. .LP
  2211.     a)
  2212.     With a value \*Qreceiving ability jeopardized\*U, the
  2213. transfer\(hyabort procedure followed by the provider\(hyabort procedure are
  2214. performed.
  2215. .LP
  2216.     b)
  2217.     With a value \*Qunrecoverable procedure error\*U, the
  2218. transfer\(hydiscard procedure followed by transfer\(hyretry procedure are 
  2219. performed. 
  2220. .LP
  2221.     c)
  2222.     With a value \*Qnon\(hyspecific error\*U, the transfer\(hydiscard
  2223. procedure followed by the transfer\(hyabort procedure are performed.
  2224. .LP
  2225.     d)
  2226.     With a value \*Qsequence error\*U, the transfer\(hydiscard
  2227. procedure is performed and the requesting RTPM issues an RT\(hyTRANSFER confirm
  2228. primitive with a result parameter value of \*QAPDU\(hytransferred\*U to 
  2229. the requestor and the transfer procedure is finished. 
  2230. .LP
  2231.     e)
  2232.     With a value \*Qlocal SS\(hyuser error\*U and at least one
  2233. confirmed checkpoint in the transfer procedure, the transfer\(hyinterrupt
  2234. procedure followed by the transfer\(hyresumption procedure are performed. If no
  2235. checkpoint was confirmed in the transfer procedure, the transfer\(hydiscard
  2236. procedure followed by the transfer\(hyretry procedure are performed.
  2237. .sp 2P
  2238. .LP
  2239. 7.6.2
  2240.     \fIProvider\(hyexception\(hyreport\fR 
  2241. .sp 1P
  2242. .RT
  2243. .sp 1P
  2244. .LP
  2245. 7.6.2.1
  2246.     \fIPurpose\fR 
  2247. .sp 9p
  2248. .RT
  2249. .PP
  2250. If the presentation service\(hyprovider detects an unexpected
  2251. situation during an activity, not covered by other services, a
  2252. P\(hyP\(hyEXCEPTION\(hyREPORT indication primitive is issued to both RTPMs.
  2253. .RT
  2254. .sp 1P
  2255. .LP
  2256. 7.6.2.2
  2257.     \fIAPDUs used\fR 
  2258. .sp 9p
  2259. .RT
  2260. .PP
  2261. No APDUs are used in this procedure.
  2262. .bp
  2263. .RT
  2264. .sp 1P
  2265. .LP
  2266. 7.6.2.3
  2267.     \fIProvider\(hyexception\(hyreport procedure\fR 
  2268. .sp 9p
  2269. .RT
  2270. .PP
  2271. This procedure is driven by the following events:
  2272. .RT
  2273. .LP
  2274.     a)
  2275.     a P\(hyP\(hyEXCEPTION\(hyREPORT indication primitive.
  2276. .sp 1P
  2277. .LP
  2278. 7.6.2.3.1
  2279.     \fIP\(hyP\(hyEXCEPTION\(hyREPORT indication primitive\fR 
  2280. .sp 9p
  2281. .RT
  2282. .PP
  2283. The receiving RTPM receives a P\(hyP\(hyEXCEPTION\(hyREPORT indication
  2284. primitive.
  2285. .PP
  2286. If the sending RTPM receives a P\(hyP\(hyEXCEPTION\(hyREPORT indication
  2287. primitive, it may perform one of the following procedures:
  2288. .RT
  2289. .LP
  2290.     a)
  2291.     if at least one checkpoint was confirmed in the transfer
  2292. procedure, the transfer\(hyinterrupt procedure followed by the
  2293. transfer\(hyresumption procedure; or,
  2294. .LP
  2295.     b)
  2296.     if no checkpoint was confirmed in the transfer procedure,
  2297. the transfer\(hydiscard procedure followed by the transfer\(hyretry procedure; 
  2298. or, 
  2299. .LP
  2300.     c)
  2301.     the transfer\(hyabort procedure followed by the provider\(hyabort  procedure.
  2302. .LP
  2303. 7.7
  2304.     \fIError handling\fR 
  2305. .sp 1P
  2306. .RT
  2307. .sp 2P
  2308. .LP
  2309. 7.7.1
  2310.     \fITransfer\(hyinterrupt\fR 
  2311. .sp 1P
  2312. .RT
  2313. .sp 1P
  2314. .LP
  2315. 7.7.1.1
  2316.     \fIPurpose\fR 
  2317. .sp 9p
  2318. .RT
  2319. .PP
  2320. The transfer\(hyinterrupt procedure is used by the sending RTPM to
  2321. handle a less severe (than those handled by the other error handling
  2322. procedures) error situation during the transfer procedure, if at least one
  2323. checkpoint was confirmed during the transfer procedure.
  2324. .RT
  2325. .sp 1P
  2326. .LP
  2327. 7.7.1.2
  2328.     \fIAPDUs used\fR 
  2329. .sp 9p
  2330. .RT
  2331. .PP
  2332. No APDUs are used in this procedure.
  2333. .RT
  2334. .sp 1P
  2335. .LP
  2336. 7.7.1.3
  2337.     \fITransfer\(hyinterrupt procedure\fR 
  2338. .sp 9p
  2339. .RT
  2340. .PP
  2341. This procedure is driven by the following events:
  2342. .RT
  2343. .LP
  2344.     a)
  2345.     a sending RTPM problem;
  2346. .LP
  2347.     b)
  2348.     a P\(hyACTIVITY\(hyINTERRUPT indication primitive;
  2349. .LP
  2350.     c)
  2351.     a P\(hyACTIVITY\(hyINTERRUPT confirm primitive.
  2352. .sp 1P
  2353. .LP
  2354. 7.7.1.3.1
  2355.     \fISending RTPM problem\fR 
  2356. .sp 9p
  2357. .RT
  2358. .PP
  2359. If the sending RTPM detects a less severe problem and at least one checkpoint 
  2360. was confirmed during the transfer procedure, it issues a 
  2361. P\(hyACTIVITY\(hyINTERRUPT request primitive with one of the following reason
  2362. parameter values:
  2363. .RT
  2364. .LP
  2365.     a)
  2366.     \*Qnon\(hyspecific error\*U, if the problem was indicated by an
  2367. error reporting procedure;
  2368. .LP
  2369.     b)
  2370.     \*Qlocal SS\(hyuser error\*U, if the problem is a local sending
  2371. RTPM problem.
  2372. .sp 1P
  2373. .LP
  2374. 7.7.1.3.2
  2375.     \fIP\(hyACTIVITY\(hyINTERRUPT indication primitive\fR 
  2376. .sp 9p
  2377. .RT
  2378. .PP
  2379. If the receiving RTPM receives a P\(hyACTIVITY\(hyINTERRUPT indication
  2380. primitive, it issues a 
  2381. P\(hyACTIVITY\(hyINTERRUPT response primitive and starts a local recovery 
  2382. timer. 
  2383. .RT
  2384. .sp 1P
  2385. .LP
  2386. 7.7.1.3.3
  2387.     \fIP\(hyACTIVITY\(hyINTERRUPT confirm primitive\fR 
  2388. .sp 9p
  2389. .RT
  2390. .PP
  2391. If the sending RTPM receives a P\(hyACTIVITY\(hyINTERRUPT confirm
  2392. primitive, it starts the transfer\(hyresumption procedure.
  2393. .bp
  2394. .RT
  2395. .sp 2P
  2396. .LP
  2397. 7.7.2
  2398.     \fITransfer\(hydiscard\fR 
  2399. .sp 1P
  2400. .RT
  2401. .sp 1P
  2402. .LP
  2403. 7.7.2.1
  2404.     \fIPurpose\fR 
  2405. .sp 9p
  2406. .RT
  2407. .PP
  2408. The transfer\(hydiscard procedure is used by the sending RTPM to
  2409. escape from a more severe (than those handled by the transfer\(hyinterrupt
  2410. procedure) error situation, or a less severe error situation if no checkpoint 
  2411. was confirmed, during the transfer procedure. 
  2412. .RT
  2413. .sp 1P
  2414. .LP
  2415. 7.7.2.2
  2416.     \fIAPDUs used\fR 
  2417. .sp 9p
  2418. .RT
  2419. .PP
  2420. No APDUs are used in this procedure.
  2421. .RT
  2422. .sp 1P
  2423. .LP
  2424. 7.7.2.3
  2425.     \fITransfer\(hydiscard procedure\fR 
  2426. .sp 9p
  2427. .RT
  2428. .PP
  2429. This procedure is driven by the following events:
  2430. .RT
  2431. .LP
  2432.     a)
  2433.     a sending RTPM problem;
  2434. .LP
  2435.     b)
  2436.     a P\(hyACTIVITY\(hyDISCARD indication primitive;
  2437. .LP
  2438.     c)
  2439.     a P\(hyACTIVITY\(hyDISCARD confirm primitive.
  2440. .sp 1P
  2441. .LP
  2442. 7.7.2.3.1
  2443.     \fISending RTPM problem\fR 
  2444. .sp 9p
  2445. .RT
  2446. .PP
  2447. If the sending RTPM detects a more severe problem, or a less severe problem 
  2448. if no checkpoint was confirmed during the transfer procedure, it issues 
  2449. a P\(hyACTIVITY\(hyDISCARD request primitive with one of the following 
  2450. Reason 
  2451. parameter values:
  2452. .RT
  2453. .LP
  2454.     a)
  2455.     \*Qnon\(hyspecific error\*U, if the problem was indicated by an
  2456. error reporting procedure;
  2457. .LP
  2458.     b)
  2459.      \*Qlocal SS\(hyuser error\*U, or \*Qunrecoverable procedural error\*U, 
  2460. if the problem is a local sending RTPM problem. 
  2461. .sp 1P
  2462. .LP
  2463. 7.7.2.3.2
  2464.     \fIP\(hyACTIVITY\(hyDISCARD indication primitive\fR 
  2465. .sp 9p
  2466. .RT
  2467. .PP
  2468. If the receiving RTPM receives a P\(hyACTIVITY\(hyDISCARD indication
  2469. primitive, it issues a P\(hyACTIVITY\(hyDISCARD response primitive. The 
  2470. receiving 
  2471. RTPM deletes all knowledge and contents of the associated RTSE\(hyuser 
  2472. APDU so far received. 
  2473. .PP
  2474. If the receiving RTPM has already issued an RT\(hyTRANSFER indication
  2475. primitive, it performs the association\(hyabort procedure. The abort\(hyreason 
  2476. field value of the RTAB APDU is \*Qtransfer\(hycompleted\*U. In this case 
  2477. the sending RTPM ends the transfer procedure with a positive RT\(hyTRANSFER 
  2478. confirm primitive and the association\(hyrecovery procedure is performed. 
  2479. .RT
  2480. .sp 1P
  2481. .LP
  2482. 7.7.2.3.3
  2483.     \fIP\(hyACTIVITY\(hyDISCARD confirm primitive\fR 
  2484. .sp 9p
  2485. .RT
  2486. .PP
  2487. The receipt of a P\(hyACTIVITY\(hyDISCARD confirm primitive by the
  2488. sending RTPM signifies the completion of the transfer\(hydiscard procedure.
  2489. .RT
  2490. .sp 2P
  2491. .LP
  2492. 7.7.3
  2493.     \fIAssociation\(hyabort\fR 
  2494. .sp 1P
  2495. .RT
  2496. .sp 1P
  2497. .LP
  2498. 7.7.3.1
  2499.     \fIPurpose\fR 
  2500. .sp 9p
  2501. .RT
  2502. .PP
  2503. The association\(hyabort procedure is used by the RTPMs to handle the most 
  2504. severe error situations. This procedure can be performed between an 
  2505. RT\(hyTRANSFER request primitive and its corresponding RT\(hyTRANSFER confirm
  2506. primitive.
  2507. .RT
  2508. .sp 1P
  2509. .LP
  2510. 7.7.3.2
  2511.     \fIAPDUs used\fR 
  2512. .sp 9p
  2513. .RT
  2514. .PP
  2515. The association\(hyabort procedure uses the RT\(hyABORT (RTAB) APDU. The 
  2516. fields of the RTAB APDU are listed in Table\ 
  2517. 7B/FX.228.
  2518. .PP
  2519. \fINote\fR \ \(em\ The RTAB APDU is also used by the provider\(hyabort and the
  2520. user\(hyabort procedure.
  2521. .bp
  2522. .RT
  2523. .ce
  2524. \fBH.T. [T7.228]\fR 
  2525. .ce
  2526. TABLE\ 7/X.228
  2527. .ce
  2528. \fBRTAB APDU Fields\fR 
  2529. .ce
  2530. \fR 
  2531. .ps 9
  2532. .vs 11
  2533. .nr VS 11
  2534. .nr PS 9
  2535. .TS
  2536. center box;
  2537. cw(90p) | cw(30p) | cw(30p) | cw(30p) .
  2538. Field name    Presence    Source    Sink
  2539. _
  2540. .T&
  2541. lw(90p) | cw(30p) | cw(30p) | cw(30p) .
  2542. Abort\(hyreason    T    sp    sp
  2543. .T&
  2544. lw(90p) | cw(30p) | cw(30p) | cw(30p) .
  2545. Reflected\(hyparameter    T    sp    sp
  2546. .T&
  2547. lw(90p) | cw(30p) | cw(30p) | cw(30p) .
  2548. User\(hydata    U    req    ind
  2549. _
  2550. .TE
  2551. .nr PS 9
  2552. .RT
  2553. .ad r
  2554. \fBTable 7/X.228 [T7.228], p.\fR 
  2555. .sp 1P
  2556. .RT
  2557. .ad b
  2558. .RT
  2559. .sp 1P
  2560. .LP
  2561. 7.7.3.3
  2562.     \fIAssociation\(hyabort procedure\fR 
  2563. .sp 9p
  2564. .RT
  2565. .PP
  2566. This procedure is driven by the following events:
  2567. .RT
  2568. .LP
  2569.     a)
  2570.     an RTPM\(hyabort;
  2571. .LP
  2572.     b)
  2573.     an RTAB APDU.
  2574. .sp 1P
  2575. .LP
  2576. 7.7.3.3.1
  2577.     \fIRTPM\(hyabort\fR 
  2578. .sp 9p
  2579. .RT
  2580. .PP
  2581. Either the receiving or the sending RTPM transfers an RTAB APDU to its 
  2582. peer as user\(hydata of an A\(hyABORT request primitive. If the RTPM is 
  2583. the\fR 
  2584. association\(hyinitiating RTPM, it performs the association recovery procedure. 
  2585. If the RTPM is the association\(hyresponding RTPM, it awaits association\(hyrecovery. 
  2586. The receiving RTPM starts a local recovery timer.
  2587. .PP
  2588. After successful association recovery, the sending RTPM performs the transfer\(hyresumption 
  2589. procedure. 
  2590. .RT
  2591. .sp 1P
  2592. .LP
  2593. 7.7.3.3.2
  2594.     \fIRTAB APDU\fR 
  2595. .sp 9p
  2596. .RT
  2597. .PP
  2598. Either the sending RTPM or the receiving RTPM may receive an RTAB APDU 
  2599. as user\(hydata of an A\(hyABORT indication primitive. If the RTPM is the 
  2600. association\(hyinitiating RTPM, it performs the association\(hyrecovery 
  2601. procedure. If the RTPM is the association\(hyresponding RTPM, it awaits 
  2602. association recovery. 
  2603. The receiving RTPM starts a local recovery timer.
  2604. .PP
  2605. After successful association recovery, the sending RTPM performs the transfer\(hyresumption 
  2606. procedure. 
  2607. .RT
  2608. .sp 1P
  2609. .LP
  2610. 7.7.3.4
  2611.     \fIUse of the RTAB APDU fields\fR 
  2612. .sp 9p
  2613. .RT
  2614. .PP
  2615. The RTAB APDU fields are used as follows:
  2616. .RT
  2617. .sp 1P
  2618. .LP
  2619. 7.7.3.4.1
  2620.     \fIAbort\(hyreason\fR 
  2621. .sp 9p
  2622. .RT
  2623. .PP
  2624. This field may contain one of the following values:
  2625. .RT
  2626. .LP
  2627. .sp 1
  2628. \(em
  2629.     local\(hysystem\(hyproblem 
  2630.     \(em
  2631.     invalid\(hyparameter 
  2632.     The invalid parameters are specified in the reflected\(hyparameter
  2633. field.
  2634. \(em
  2635.     unrecognized\(hyactivity 
  2636.      The sending RTPM shall perform the transfer\(hyabort procedure optionally 
  2637. followed by the provider\(hyabort procedure. 
  2638. \(em
  2639.     temporary\(hyproblem 
  2640.      No attempt at association\(hyrecovery should be made for a period of 
  2641. time determined by a local rule. 
  2642. .LP
  2643. \(em
  2644.     protocol\(hyerror
  2645.     Of the RTPM.
  2646. \(em
  2647.     permanent\(hyerror 
  2648.     This value is used solely by the provider\(hyabort procedure in normal
  2649. mode.
  2650. \(em
  2651.     user\(hyabort 
  2652.     This value is used solely by the user\(hyabort procedure in normal
  2653. mode.
  2654. \(em
  2655.     transfer\(hycompleted 
  2656.     The receiving RTPM could not discard an already completed
  2657. transfer.
  2658. .bp
  2659. .sp 1P
  2660. .LP
  2661. 7.7.3.4.2
  2662.     \fIReflected\(hyparameter\fR 
  2663. .sp 9p
  2664. .RT
  2665. .PP
  2666. The reflected\(hyparameter field is a bit string that identifies which 
  2667. parameters are regarded as invalid parameters in the primitive received 
  2668. from 
  2669. the used service by the aborting RTMP before the association\(hyabort. 
  2670. The order of the bits in the bit string is the same as the order of the 
  2671. parameters in the tables of service parameters in Recommendations\ X.217 
  2672. and\ X.216 (i.e.\ bit\ 1 
  2673. represents the first parameter,\ etc.).
  2674. .RT
  2675. .sp 1P
  2676. .LP
  2677. 7.7.3.4.3
  2678.     \fIUser\(hydata\fR 
  2679. .sp 9p
  2680. .RT
  2681. .PP
  2682. This field is not used in the association\(hyabort procedure.
  2683. .bp
  2684. .RT
  2685. .sp 2P
  2686. .LP
  2687. 7.7.4
  2688.     \fIAssociation\(hyprovider\(hyabort\fR 
  2689. .sp 1P
  2690. .RT
  2691. .sp 1P
  2692. .LP
  2693. 7.7.4.1
  2694.     \fIPurpose\fR 
  2695. .sp 9p
  2696. .RT
  2697. .PP
  2698. The association\(hyprovider\(hyabort procedure is used to handle an
  2699. ACSE\(hyprovider, or a presentation service\(hyprovider abort.
  2700. .RT
  2701. .sp 1P
  2702. .LP
  2703. 7.7.4.2
  2704.     \fIAPDUs used\fR 
  2705. .sp 9p
  2706. .RT
  2707. .PP
  2708. No APDUs are used in this procedure.
  2709. .RT
  2710. .sp 1P
  2711. .LP
  2712. 7.7.4.3
  2713.     \fIAssociation\(hyprovider\(hyabort procedure\fR 
  2714. .sp 9p
  2715. .RT
  2716. .PP
  2717. This procedure is driven by the following event:
  2718. .RT
  2719. .LP
  2720.     a)
  2721.     an AP\(hyABORT indication primitive.
  2722. .sp 1P
  2723. .LP
  2724. 7.7.4.3.1
  2725.     \fIAP\(hyABORT indication primitive\fR 
  2726. .sp 9p
  2727. .RT
  2728. .PP
  2729. An association\(hyprovider\(hyabort is indicated to both RTPMs by an
  2730. AP\(hyABORT indication primitive, and may occur at any time.
  2731. .PP
  2732. After such an event, the association\(hyinitiating RTPM starts the
  2733. association\(hyrecovery procedure. Both RTPMs start a local recovery timer.
  2734. .PP
  2735. If the association\(hyprovider\(hyabort procedure was performed during 
  2736. the transfer procedure, the sending RTPM starts the transfer\(hyresumption 
  2737. procedure after the association\(hyrecovery procedure is successfully completed. 
  2738. If the 
  2739. association\(hyrecovery procedure was not successfully completed, the sending 
  2740. RTPM performs the transfer\(hyerror procedure, and the provider\(hyabort 
  2741. procedure. 
  2742. .RT
  2743. .LP
  2744. 7.8
  2745.     \fIError recovery\fR 
  2746. .sp 1P
  2747. .RT
  2748. .sp 2P
  2749. .LP
  2750. 7.8.1
  2751.     \fITransfer\(hyresumption\fR 
  2752. .sp 1P
  2753. .RT
  2754. .sp 1P
  2755. .LP
  2756. 7.8.1.1
  2757.     \fIPurpose\fR 
  2758. .sp 9p
  2759. .RT
  2760. .PP
  2761. The transfer\(hyresumption procedure is used by the sending RTPM to
  2762. recover from:
  2763. .RT
  2764. .LP
  2765.     a)
  2766.     an error situation handled by the transfer\(hyinterrupt
  2767. procedure; or,
  2768. .LP
  2769.     b)
  2770.     an error situation handled by the association\(hyabort
  2771. procedure during a transfer procedure. In this case the transfer\(hyresumption
  2772. procedure is performed after an association\(hyrecovery procedure is successfully 
  2773. performed. If no checkpoint was confirmed in the interrupted transfer 
  2774. procedure, the transfer\(hydiscard procedure followed by the transfer\(hyretry
  2775. procedure are performed after transfer\(hyresumption.
  2776. .sp 1P
  2777. .LP
  2778. 7.8.1.2
  2779.     \fIAPDUs used\fR 
  2780. .sp 9p
  2781. .RT
  2782. .PP
  2783. The transfer\(hyresumption procedure uses the RTTR APDU (see clause
  2784. 7.3.2).
  2785. .RT
  2786. .sp 1P
  2787. .LP
  2788. 7.8.1.3
  2789.     \fITransfer\(hyresumption procedure\fR 
  2790. .sp 9p
  2791. .RT
  2792. .PP
  2793. This procedure is driven by the following events:
  2794. .RT
  2795. .LP
  2796.     a)
  2797.     the resumption of an interrupted activity;
  2798. .LP
  2799.     b)
  2800.     a P\(hyACTIVITY\(hyRESUME indication primitive.
  2801. .PP
  2802. After these events, the transfer procedure is used to continue
  2803. (see clause\ 7.3.3).
  2804. .bp
  2805. .sp 1P
  2806. .LP
  2807. 7.8.1.3.1
  2808.     \fIResumption of an interrupted activity\fR 
  2809. .sp 9p
  2810. .RT
  2811. .PP
  2812. The sending RTPM issues a P\(hyACTIVITY\(hyRESUME request primitive with 
  2813. parameters that link the resumed Activity to the previously interrupted 
  2814. one. 
  2815. .PP
  2816. After the sending RTPM has issued the P\(hyACTIVITY\(hyRESUME request
  2817. primitive and at least one checkpoint was confirmed in the interrupted 
  2818. transfer procedure, it continues the transfer procedure by issuing a P\(hyDATA 
  2819. request 
  2820. primitive for the RTTR APDU following the last confirmed checkpoint.  If no
  2821. checkpoint was confirmed in the interrupted transfer procedure, the
  2822. transfer\(hydiscard procedure followed by the transfer\(hyretry procedure are
  2823. performed.
  2824. .RT
  2825. .sp 1P
  2826. .LP
  2827. 7.8.1.3.2
  2828.     \fIP\(hyACTIVITY\(hyRESUME indication primitive\fR 
  2829. .sp 9p
  2830. .RT
  2831. .PP
  2832. If the receiving RTPM receives a P\(hyACTIVITY\(hyRESUME indication
  2833. primitive, it checks the Old Activity Identifier and the Old Session Connection 
  2834. Identifier parameters of the P\(hyACTIVITY\(hyRESUME indication primitive 
  2835. with the 
  2836. corresponding information (session\(hyconnection\(hyidentifier, and Activity
  2837. Identifier) recorded for the last completely secured transfer (see
  2838. clause\ 7.3.3.4).
  2839. .PP
  2840. If the information coincides, the receiving RTPM either:
  2841. .RT
  2842. .LP
  2843.     a)
  2844.     responds correctly to the sending RTPM according to the
  2845. transfer procedure, but discards the data it receives, and does not issue an
  2846. RT\(hyTRANSFER indication primitive; or,
  2847. .LP
  2848.     b)
  2849.      performs the user\(hyexception\(hyreport procedure with a Reason parameter 
  2850. value of \*Qsequence error\*U. 
  2851. .PP
  2852. If the information does not coincide, and the old Activity
  2853. Identifier and the old Session Connection Identifier parameters match the
  2854. corresponding information of the previously interrupted activity, the
  2855. transfer\(hyresumption procedure continues as for the transfer procedure with a
  2856. P\(hyDATA indication primitive for the RTTR APDU following the last confirmed
  2857. checkpoint.
  2858. .PP
  2859. If the receiving RTPM cannot resume the activity, the receiving RTPM performs 
  2860. the user\(hyexception\(hyreport procedure or the association\(hyabort 
  2861. procedure.
  2862. .RT
  2863. .sp 2P
  2864. .LP
  2865. 7.8.2
  2866.     \fITransfer\(hyretry\fR 
  2867. .sp 1P
  2868. .RT
  2869. .sp 1P
  2870. .LP
  2871. 7.8.2.1
  2872.     \fIPurpose\fR 
  2873. .sp 9p
  2874. .RT
  2875. .PP
  2876. The transfer\(hyretry procedure is used by the sending RTPM to recover 
  2877. from an error situation handled by the transfer\(hydiscard procedure. 
  2878. .PP
  2879. The completion of this procedure is as for the transfer
  2880. procedure.
  2881. .RT
  2882. .sp 1P
  2883. .LP
  2884. 7.8.2.2
  2885.     \fIAPDUs used\fR 
  2886. .sp 9p
  2887. .RT
  2888. .PP
  2889. The transfer\(hyretry procedure uses the RTTR APDU (see
  2890. clause\ 7.3.2).
  2891. .RT
  2892. .sp 1P
  2893. .LP
  2894. 7.8.2.3
  2895.     \fITransfer\(hyretry procedure\fR 
  2896. .sp 9p
  2897. .RT
  2898. .PP
  2899. The sending RTPM performs the transfer procedure (see
  2900. clause\ 7.3.3). A new Activity Identifier parameter value is used in the
  2901. P\(hyACTIVITY\(hySTART request primitive.
  2902. .RT
  2903. .sp 2P
  2904. .LP
  2905. 7.8.3
  2906.     \fIAssociation\(hyrecovery\fR 
  2907. .sp 1P
  2908. .RT
  2909. .sp 1P
  2910. .LP
  2911. 7.8.3.1
  2912.     \fIPurpose\fR 
  2913. .sp 9p
  2914. .RT
  2915. .PP
  2916. The association\(hyrecovery procedure is used by the
  2917. association\(hyinitiating RTPM to recover from an error situation handled 
  2918. by the association\(hyabort procedure or the association\(hyprovider\(hyabort 
  2919. procedure. 
  2920. .RT
  2921. .sp 1P
  2922. .LP
  2923. 7.8.3.2
  2924.     \fIAPDUs used\fR 
  2925. .sp 9p
  2926. .RT
  2927. .PP
  2928. The association\(hyrecovery procedure uses the RT\(hyOPEN\(hyREQUEST (RTORQ) 
  2929. APDU, the RT\(hyOPEN\(hyACCEPT (RTOAC) APDU, and the RT\(hyOPEN\(hyREJECT 
  2930. (RTORJ) 
  2931. APDU.
  2932. .bp
  2933. .RT
  2934. .sp 1P
  2935. .LP
  2936. 7.8.3.2.1
  2937.     \fIRTORQ APDU\fR 
  2938. .sp 9p
  2939. .RT
  2940. .PP
  2941. The RT\(hyOPEN\(hyREQUEST (RTORQ) APDU is used in the request to recover 
  2942. an application\(hyassociation. The fields of the RTORQ APDU are listed 
  2943. in 
  2944. clause\ 7.1.2.1.
  2945. .PP
  2946. The following rules apply:
  2947. .RT
  2948. .LP
  2949.     a)
  2950.     the User\(hydata field is not used;
  2951. .LP
  2952.     b)
  2953.     the Session\(hyconnection\(hyidentifier field is mandatory.
  2954. .sp 1P
  2955. .LP
  2956. 7.8.3.2.2
  2957.     \fIRTOAC APDU\fR 
  2958. .sp 9p
  2959. .RT
  2960. .PP
  2961. The RT\(hyOPEN\(hyACCEPT (RTOAC) APDU is used in the positive response 
  2962. to the request to recover an application\(hyassociation. The fields of 
  2963. the RTOAC APDU are listed in clause\ 7.1.2.2. 
  2964. .PP
  2965. The following rules apply:
  2966. .RT
  2967. .LP
  2968.     a)
  2969.     the User\(hydata field is not used;
  2970. .LP
  2971.     b)
  2972.     the Session\(hyconnection\(hyidentifier field is mandatory.
  2973. .sp 1P
  2974. .LP
  2975. 7.8.3.2.3
  2976.     \fIRTORJ APDU\fR 
  2977. .sp 9p
  2978. .RT
  2979. .PP
  2980. The RT\(hyOPEN\(hyREJECT (RTORJ) APDU is used in the negative response 
  2981. to the request to recover an application\(hyassociation. The fields of 
  2982. the RTORJ APDU are listed in clause\ 7.1.2.3. 
  2983. .PP
  2984. The following rules apply:
  2985. .RT
  2986. .LP
  2987.     a)
  2988.     the Refuse\(hyreason field is used solely in the X.410\(hy1984
  2989. mode;
  2990. .LP
  2991.     b)
  2992.     the User\(hydata field is not used.
  2993. .sp 1P
  2994. .LP
  2995. 7.8.3.3
  2996.     \fIAssociation\(hyrecovery procedure\fR 
  2997. .sp 9p
  2998. .RT
  2999. .PP
  3000. This procedure is driven by the following events:
  3001. .RT
  3002. .LP
  3003.     a)
  3004.     an A\(hyASSOCIATE request primitive by the
  3005. association\(hyinitiating RTPM;
  3006. .LP
  3007.     b)
  3008.     an RTORQ APDU as user\(hydata on an A\(hyASSOCIATE indication
  3009. primitive;
  3010. .LP
  3011.     c)
  3012.      an A\(hyASSOCIATE confirm primitive that may contain either an RTOAC 
  3013. APDU, or an RTORJ, or no APDU. 
  3014. .sp 1P
  3015. .LP
  3016. 7.8.3.3.1
  3017.     \fIA\(hyASSOCIATE request primitive\fR 
  3018. .sp 9p
  3019. .RT
  3020. .PP
  3021. The association\(hyinitiating RTPM forms an RTORQ APDU from its
  3022. internal data. The association\(hyinitiating RTPM issues an A\(hyASSOCIATE 
  3023. request 
  3024. primitive using information stored during the association\(hyestablishment
  3025. procedure (see clause\ 7.1.3.1). The RTORQ APDU is the User Information
  3026. parameter value of the A\(hyASSOCIATE request primitive.
  3027. .PP
  3028. The association\(hyinitiating RTPM waits for a primitive from the ACSE
  3029. service\(hyprovider.
  3030. .RT
  3031. .sp 1P
  3032. .LP
  3033. 7.8.3.3.2
  3034.     \fIRTORQ APDU\fR 
  3035. .sp 9p
  3036. .RT
  3037. .PP
  3038. If the application\(hyassociation is not accepted by the ACSE
  3039. service\(hyprovider, no A\(hyASSOCIATE indication primitive is received by the
  3040. association\(hyresponding RTPM and no action takes place.
  3041. .PP
  3042. If the application\(hyassociation is accepted by the ACSE
  3043. service\(hyprovider, the association\(hyresponding RTPM receives the RTORQ 
  3044. APDU as 
  3045. the User Information parameter on an A\(hyASSOCIATE indication primitive.
  3046. .PP
  3047. If any of the A\(hyASSOCIATE indication primitive parameters, or any of 
  3048. the RTORQ APDU fields, is unacceptable to the association\(hyresponding 
  3049. RTPM, or if the association\(hyresponding RTPM is not able to accept the 
  3050. application\(hyassociation, it forms and sends an RTORJ APDU with appropriate
  3051. parameters from internal data. The association\(hyresponding RTPM issues an
  3052. A\(hyASSOCIATE response primitive. The RTORJ APDU is sent as the User Information 
  3053. parameter of the A\(hyASSOCIATE response primitive. The application\(hyassociation 
  3054. is not recovered. 
  3055. .bp
  3056. .PP
  3057. If the A\(hyASSOCIATE indication primitive parameters, and the RTORQ APDU 
  3058. fields are acceptable to the association\(hyresponding RTPM, the 
  3059. association\(hyresponding RTPM forms an RTOAC APDU using
  3060. internal data. The association\(hyresponding RTPM issues an A\(hyASSOCIATE 
  3061. response primitive. The RTOAC APDU is sent as the User Information parameter 
  3062. of the 
  3063. A\(hyASSOCIATE response primitive.
  3064. .RT
  3065. .sp 1P
  3066. .LP
  3067. 7.8.3.3.3
  3068.     \fIA\(hyASSOCIATE confirm primitive\fR 
  3069. .sp 9p
  3070. .RT
  3071. .PP
  3072. The association\(hyinitiating RTPM receives an A\(hyASSOCIATE confirm
  3073. primitive. The following situations are possible:
  3074. .RT
  3075. .LP
  3076.     a)
  3077.     the association\(hyrecovery has been accepted;
  3078. .LP
  3079.     b)
  3080.     the accepting RTPM has rejected the association\(hyrecovery;
  3081. or
  3082. .LP
  3083.     c)
  3084.     the ACSE service provider has rejected the
  3085. association\(hyrecovery.
  3086. .PP
  3087. If the association\(hyrecovery was accepted, the A\(hyASSOCIATE confirm 
  3088. primitive Result parameter has the value \*Qaccepted\*U and the RTOAC APDU 
  3089. is the value of the User Information Parameter of the A\(hyASSOCIATE confirm 
  3090. primitive. The application\(hyassociation is recovered successfully, and 
  3091. if the 
  3092. association\(hyabort occurred during the transfer procedure, the sending RTPM
  3093. continues with the transfer\(hyresumption procedure.
  3094. .PP
  3095. If the association\(hyrecovery was rejected by the responding RTPM, the 
  3096. A\(hyASSOCIATE confirm primitive Result parameter has one of the values 
  3097. \*Qrejected\|.\|.\|.\*U, the A\(hyASSOCIATE confirm primitive Result Source 
  3098. parameter has the value \*QACSE service\(hyuser\*U and the RTORJ APDU is 
  3099. the value of the User 
  3100. Information Parameter of the A\(hyASSOCIATE confirm primitive.  The
  3101. application\(hyassociation is not recovered.
  3102. .PP
  3103. If the association\(hyrecovery was rejected by the ACSE service\(hyprovider, 
  3104. the A\(hyASSOCIATE confirm primitive Result parameter has one of the values 
  3105. \*Qrejected\|.\|.\|.\*U and the A\(hyASSOCIATE confirm primitive Result 
  3106. Source parameter has either the value \*QACSE service\(hyprovider\*U or 
  3107. \*Qpresentation 
  3108. service\(hyprovider\*U.  The application\(hyassociation is not recovered.
  3109. .PP
  3110. If the application\(hyassociation was not recovered, the
  3111. association\(hyrecovery procedure is performed again by the association\(hyinitiating 
  3112. RTPM after a time determined by a local rule: 
  3113. .RT
  3114. .LP
  3115.     a)
  3116.      if the Result parameter of the A\(hyASSOCIATE confirm primitive has the 
  3117. following value \*Qrejected (transient)\*U; or 
  3118. .LP
  3119.     b)
  3120.      if, in X.410\(hy1984 mode, the Refuse\(hyreason field of the RTORJ APDU 
  3121. has the value \*Qrts\(hybusy\*U. 
  3122. .PP
  3123. In all other cases a provider\(hyabort is performed as follows.
  3124. .PP
  3125. If the association\(hyinitiating RTPM is the sending RTPM, and the
  3126. association\(hyabort occurred during the transfer procedure, the sending RTPM
  3127. performs the transfer\(hyabort procedure. The association\(hyinitiating 
  3128. RTPM performs the provider\(hyabort procedure. 
  3129. .PP
  3130. If the association\(hyresponding RTPM detects a recovery\(hytime\(hyout, the
  3131. following actions take place. If the association\(hyresponding RTPM is 
  3132. the sending RTPM, and the association\(hyabort occurred during the transfer 
  3133. procedure, the 
  3134. sending RTPM performs the transfer\(hyabort procedure. The association\(hyresponding 
  3135. RTPM performs the provider\(hyabort procedure. 
  3136. .RT
  3137. .sp 1P
  3138. .LP
  3139. 7.8.3.4
  3140.     \fIUse of the RTORQ APDU fields\fR 
  3141. .sp 9p
  3142. .RT
  3143. .PP
  3144. The RTORQ APDU fields are used as follows.
  3145. .RT
  3146. .sp 1P
  3147. .LP
  3148. 7.8.3.4.1
  3149.     \fICheckpoint\(hysize\fR 
  3150. .sp 9p
  3151. .RT
  3152. .PP
  3153. See clause 7.1.4.1.
  3154. .RT
  3155. .sp 1P
  3156. .LP
  3157. 7.8.3.4.2
  3158.     \fIWindow\(hysize\fR 
  3159. .sp 9p
  3160. .RT
  3161. .PP
  3162. See clause 7.1.4.2.
  3163. .RT
  3164. .sp 1P
  3165. .LP
  3166. 7.8.3.4.3
  3167.     \fIDialogue\(hymode\fR 
  3168. .sp 9p
  3169. .RT
  3170. .PP
  3171. See clause 7.1.4.3.
  3172. .bp
  3173. .RT
  3174. .sp 1P
  3175. .LP
  3176. 7.8.3.4.4
  3177.     \fIUser\(hydata\fR 
  3178. .sp 9p
  3179. .RT
  3180. .PP
  3181. This field is not used in the association\(hyrecovery procedure.
  3182. .RT
  3183. .sp 1P
  3184. .LP
  3185. 7.8.3.4.5
  3186.     \fISession\(hyconnection\(hyidentifier\fR 
  3187. .sp 9p
  3188. .RT
  3189. .PP
  3190. The Session\(hyconnection\(hyidentifier is used to specify the original 
  3191. session connection used in the association\(hyestablishment procedure. 
  3192. This is 
  3193. used in order to relate the new session\(hyconnection to the existing
  3194. application\(hyassociation.
  3195. .RT
  3196. .sp 1P
  3197. .LP
  3198. 7.8.3.5
  3199.     \fIUse of the RTOAC APDU fields\fR 
  3200. .sp 9p
  3201. .RT
  3202. .PP
  3203. The RTOAC APDU fields are used as follows.
  3204. .RT
  3205. .sp 1P
  3206. .LP
  3207. 7.8.3.5.1
  3208.     \fICheckpoint\(hysize\fR 
  3209. .sp 9p
  3210. .RT
  3211. .PP
  3212. See clause 7.1.5.1.
  3213. .RT
  3214. .sp 1P
  3215. .LP
  3216. 7.8.3.5.2
  3217.     \fIWindow\(hysize\fR 
  3218. .sp 9p
  3219. .RT
  3220. .PP
  3221. See clause 7.1.5.2.
  3222. .RT
  3223. .sp 1P
  3224. .LP
  3225. 7.8.3.5.3
  3226.     \fIUser\(hydata\fR 
  3227. .sp 9p
  3228. .RT
  3229. .PP
  3230. This field is used only in the association\(hyrecovery procedure.
  3231. .RT
  3232. .sp 1P
  3233. .LP
  3234. 7.8.3.5.4
  3235.     \fISession\(hyconnection\(hyidentifier\fR 
  3236. .sp 9p
  3237. .RT
  3238. .PP
  3239. The Session\(hyconnection\(hyidentifier is used to specify the original 
  3240. session connection used in the association\(hyestablishment procedure. 
  3241. This is 
  3242. used in order to relate the new session\(hyconnection to the existing
  3243. application\(hyassociation.
  3244. .RT
  3245. .sp 1P
  3246. .LP
  3247. 8.3.6
  3248.     \fIUse of the RTORJ APDU fields\fR 
  3249. .sp 9p
  3250. .RT
  3251. .PP
  3252. The RTORJ APDU fields are used as follows.
  3253. .RT
  3254. .sp 1P
  3255. .LP
  3256. 7.8.3.6.1
  3257.     \fIRefuse\(hyreason\fR 
  3258. .sp 9p
  3259. .RT
  3260. .PP
  3261. The Refuse\(hyreason field is used solely in the X.410\(hy1984 mode.
  3262. .PP
  3263. This field may contain one of the following values:
  3264. .RT
  3265. .LP
  3266. .sp 1
  3267. \(em
  3268.     rts\(hybusy
  3269.     The association\(hyresponding RTPM is so loaded that it cannot support
  3270. the application\(hyassociation. The association\(hyinitiating RTPM should
  3271. retry after a period of time. This value is provided by the
  3272. association\(hyresponding RTPM.
  3273. \(em
  3274.     cannot recover
  3275.     This value is used by the association\(hyresponding RTPM, if it is unable
  3276. to accept an association\(hyrecovery.
  3277. .sp 1P
  3278. .LP
  3279. 7.8.3.6.4
  3280.     \fIUser\(hydata\fR 
  3281. .sp 9p
  3282. .RT
  3283. .PP
  3284. This field is not used in the association\(hyrecovery procedure.
  3285. .RT
  3286. .sp 1P
  3287. .LP
  3288. 7.9
  3289.     \fIAbort\fR 
  3290. .sp 9p
  3291. .RT
  3292. .PP
  3293. These procedures are performed when a successful recovery from one of the 
  3294. error handling procedures is not possible. 
  3295. .bp
  3296. .RT
  3297. .sp 2P
  3298. .LP
  3299. 7.9.1
  3300.     \fITransfer\(hyabort\fR 
  3301. .sp 1P
  3302. .RT
  3303. .sp 1P
  3304. .LP
  3305. 7.9.1.1
  3306.     \fIPurpose\fR 
  3307. .sp 9p
  3308. .RT
  3309. .PP
  3310. The transfer\(hyabort procedure is used by the sending RTPM if the
  3311. transfer of an RTSE\(hyuser APDU is not possible.
  3312. .RT
  3313. .sp 1P
  3314. .LP
  3315. 7.9.1.2
  3316.     \fIAPDUs used\fR 
  3317. .sp 9p
  3318. .RT
  3319. .PP
  3320. No APDUs are used in this procedure.
  3321. .RT
  3322. .sp 1P
  3323. .LP
  3324. 7.9.1.3
  3325.     \fITransfer\(hyabort procedure\fR 
  3326. .sp 9p
  3327. .RT
  3328. .PP
  3329. The sending RTPM issues an RT\(hyTRANSFER confirm primitive with a
  3330. Result parameter value \*QAPDU\(hynot\(hytransferred\*U. The APDU parameter 
  3331. value is the RTSE\(hyuser APDU not transferred. 
  3332. .RT
  3333. .sp 2P
  3334. .LP
  3335. 7.9.2
  3336.     \fIProvider\(hyabort\fR 
  3337. .sp 1P
  3338. .RT
  3339. .sp 1P
  3340. .LP
  3341. 7.9.2.1
  3342.     \fIPurpose\fR 
  3343. .sp 9p
  3344. .RT
  3345. .PP
  3346. The provider\(hyabort procedure is used by the RTPMs, if recovery is not 
  3347. possible. 
  3348. .RT
  3349. .sp 1P
  3350. .LP
  3351. 7.9.2.2
  3352.     \fIAPDUs used\fR 
  3353. .sp 9p
  3354. .RT
  3355. .PP
  3356. If an application\(hyassociation exists, the provider\(hyabort procedure 
  3357. uses the RT\(hyABORT (RTAB) APDU. The RTAB APDU is specified in 
  3358. clause\ 7.7.3.2.
  3359. .RT
  3360. .sp 1P
  3361. .LP
  3362. 7.9.2.3
  3363.     \fIProvider\(hyabort procedure\fR 
  3364. .sp 9p
  3365. .RT
  3366. .PP
  3367. This procedure is driven by the following events:
  3368. .RT
  3369. .LP
  3370.     a)
  3371.     an RTPM\(hyabort;
  3372. .LP
  3373.     b)
  3374.     an RTAB APDU;
  3375. .LP
  3376.     c)
  3377.     local recovery time\(hyout.
  3378. .sp 1P
  3379. .LP
  3380. 7.9.2.3.1
  3381.     \fIRTPM\(hyabort\fR 
  3382. .sp 9p
  3383. .RT
  3384. .PP
  3385. If an application\(hyassociation exists, either the receiving or the sending 
  3386. RTPM transfers an RTAB APDU to its peer as the User\(hydata parameter of 
  3387. an A\(hyABORT request primitive. The RTPM issues a RT\(hyP\(hyABORT indication 
  3388. primitive to its RTSE\(hyuser. 
  3389. .RT
  3390. .sp 1P
  3391. .LP
  3392. 7.9.2.3.2
  3393.     \fIRTAB APDU\fR 
  3394. .sp 9p
  3395. .RT
  3396. .PP
  3397. If the sending or the receiving RTPM receives an RTAB APDU as the User\(hydata 
  3398. parameter of an A\(hyABORT indication primitive, it issues an RT\(hyP\(hyABORT 
  3399. indication primitive to its RTSE\(hyuser. 
  3400. .RT
  3401. .sp 1P
  3402. .LP
  3403. 7.9.2.3.3
  3404.     \fIRecovery time\(hyout\fR 
  3405. .sp 9p
  3406. .RT
  3407. .PP
  3408. If an application\(hyassociation does not exist and a local recovery time\(hyout 
  3409. occurs, the RTPM issues an RT\(hyP\(hyABORT indication primitive to its 
  3410. RTSE\(hyuser.
  3411. .RT
  3412. .sp 1P
  3413. .LP
  3414. 7.9.2.4
  3415.     \fIUse of the RTAB APDU fields\fR 
  3416. .sp 9p
  3417. .RT
  3418. .PP
  3419. The RTAB APDU fields are used as follows.
  3420. .RT
  3421. .sp 1P
  3422. .LP
  3423. 7.9.2.4.1
  3424.     \fIAbort\(hyreason\fR 
  3425. .sp 9p
  3426. .RT
  3427. .PP
  3428. The value of this field is \*Qpermanent\(hyerror\*U.
  3429. .bp
  3430. .RT
  3431. .sp 1P
  3432. .LP
  3433. 7.9.2.4.2
  3434.     \fIReflected\(hyparameter\fR 
  3435. .sp 9p
  3436. .RT
  3437. .PP
  3438. This field is not used.
  3439. .RT
  3440. .sp 1P
  3441. .LP
  3442. 7.9.2.4.3
  3443.     \fIUser\(hydata\fR 
  3444. .sp 9p
  3445. .RT
  3446. .PP
  3447. This field is not used.
  3448. .RT
  3449. .sp 2P
  3450. .LP
  3451. 7.9.3
  3452.     \fIUser\(hyabort\fR 
  3453. .sp 1P
  3454. .RT
  3455. .sp 1P
  3456. .LP
  3457. 7.9.3.1
  3458.     \fIPurpose\fR 
  3459. .sp 9p
  3460. .RT
  3461. .PP
  3462. The user\(hyabort procedure is used by the requestor to abort an
  3463. application\(hyassociation.
  3464. .RT
  3465. .sp 1P
  3466. .LP
  3467. 7.9.3.2
  3468.     \fIAPDUs used\fR 
  3469. .sp 9p
  3470. .RT
  3471. .PP
  3472. The user\(hyabort procedure uses the RT\(hyABORT (RTAB) APDU. The RTAB
  3473. APDU is specified in clause\ 7.7.3.2.
  3474. .RT
  3475. .sp 1P
  3476. .LP
  3477. 7.9.3.3
  3478.     \fIUser\(hyabort procedure\fR 
  3479. .sp 9p
  3480. .RT
  3481. .PP
  3482. This procedure is driven by the following events:
  3483. .RT
  3484. .LP
  3485.     a)
  3486.     an RT\(hyU\(hyABORT request primitive from the requestor;
  3487. .LP
  3488.     b)
  3489.     an RTAB APDU as User\(hydata of an A\(hyABORT indication
  3490. primitive.
  3491. .sp 1P
  3492. .LP
  3493. 7.9.3.3.1
  3494.     \fIRT\(hyU\(hyABORT request\fR 
  3495. .sp 9p
  3496. .RT
  3497. .PP
  3498. If the requesting RTPM receives an RT\(hyU\(hyABORT request primitive
  3499. from the requestor, an RTAB APDU is formed from the parameter value of the
  3500. RT\(hyU\(hyABORT request primitive and transferred as User\(hydata of an 
  3501. A\(hyABORT request primitive. 
  3502. .RT
  3503. .sp 1P
  3504. .LP
  3505. 7.9.3.3.2
  3506.     \fIRTAB APDU\fR 
  3507. .sp 9p
  3508. .RT
  3509. .PP
  3510. If the accepting RTPM receives the RTAB APDU as User\(hydata of an
  3511. A\(hyABORT indication primitive, the accepting RTPM issues an RT\(hyU\(hyABORT
  3512. indication primitive to the acceptor. The RT\(hyU\(hyABORT primitive parameter 
  3513. is 
  3514. derived from the RTAB APDU.
  3515. .RT
  3516. .sp 1P
  3517. .LP
  3518. 7.9.3.4
  3519.     \fIUse of the RTAB APDU fields\fR 
  3520. .sp 9p
  3521. .RT
  3522. .PP
  3523. The RTAB APDU fields are used as follows.
  3524. .RT
  3525. .sp 1P
  3526. .LP
  3527. 7.9.3.4.1
  3528.     \fIAbort\(hyreason\fR 
  3529. .sp 9p
  3530. .RT
  3531. .PP
  3532. The value of this field is \*Quser\(hyerror\*U.
  3533. .RT
  3534. .sp 1P
  3535. .LP
  3536. 7.9.3.4.2
  3537.     \fIReflected\(hyparameter\fR 
  3538. .sp 9p
  3539. .RT
  3540. .PP
  3541. This field is not used.
  3542. .RT
  3543. .sp 1P
  3544. .LP
  3545. 7.9.3.4.3
  3546.     \fIUser\(hydata\fR 
  3547. .sp 9p
  3548. .RT
  3549. .PP
  3550. This is the User\(hydata parameter value of the RT\(hyU\(hyABORT request
  3551. primitive. It appears as the User\(hydata parameter value of the RT\(hyU\(hyABORT 
  3552. indication primitive.
  3553. .RT
  3554. .sp 1P
  3555. .LP
  3556. 7.10
  3557.     \fIRules for extensibility\fR 
  3558. .sp 9p
  3559. .RT
  3560. .PP
  3561. In addition to the procedures stated above the following rule also applies 
  3562. when 
  3563. processing APDUs defined in this Recommendation:
  3564. .RT
  3565. .LP
  3566.     \(em
  3567.     Ignore parameters which are not defined in this
  3568. Recommendation for RTORQ, RTOAC, and RTORJ APDUs.
  3569. .LP
  3570. .bp
  3571.